~~~[api]
post:api/admin/macmanage
*shopToken=默認值#token
*field_id=默認值#場地id, 如果是場地登陸, 傳 adminInfo->id
page=默認值 1#頁數
pagesize=默認值 10#數量
keyword=默認值#所搜設備號
<<<
success
{
"code":1,
"message":"獲取成功",
"data":{
"list":[
{
"id":15,
"beat_time":"2022-02-28?20:46:43",
"macno":"2021808800004528",
"address":"石家莊市懷特全民健身中心",
"lock1":0,
"lock2":0,
"error":0,
"status":0,
"online":1,
"toy_data":\[
{
"status":1,
"electric":100,
"box":1,
"title":"卡丁龍轎車1",
"remote":"0055d3fe",
"battery_power":144,
"current_battery_power":144,
"use_coulometer":0
},
{
"status":1,
"electric":100,
"box":2,
"title":"卡丁龍轎車1",
"remote":"0056b0de",
"battery_power":144,
"current_battery_power":144,
"use_coulometer":0
}
]
}
]
}
}
<<<
error
{
"code":?501,
"message":?"登陸失敗",
"data":?""
}
~~~
*****
#### 返回參數說明:
|參數名|類型|說明|
|:----- |:-----|----- |
|id|int | 場地id|
|macno|string| 設備號|
|title|string| 設備名稱|
|changdi_name|int |場地名稱|
|online|int | 1/在線 0/離線|
|trade_total_count|int | 累計訂單數量|
|divide_total_money|int | 設備累計收入|
|trade_total_count|int | 今日訂單|
|trade_yesterday_count|int | 昨日訂單|
|type_desc|int | 設備類型 0/雙柜 1/單柜|