~~~[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/单柜|