~~~[api]
get:/admin/mac/list
*int:page=1#分页
int:uid=23#用户ID #不传则显示全部用户
int:online=0#是否在线 1:是 0:否 #不传则显示全部状态
<<<
success
{
"code": 200,
"info": {
"currentPage": 1,
"list": [
{
"ID": 64,
"CreatedAt": "2019-04-16T15:09:15+08:00",
"UpdatedAt": "2019-04-16T16:24:01+08:00",
"DeletedAt": null,
"Uid": 23,
"MacUuid": "127001-001",
#机器唯一编码
"WsId": "ea3145c0-c317-4aa3-a467-e2361c17bc0c",
//websocket id
"Online": 0
#是否在线 1:是 0:否
"account": "cuijun"
},
{
"ID": 61,
"CreatedAt": "2019-04-16T14:25:24+08:00",
"UpdatedAt": "2019-04-16T16:24:01+08:00",
"DeletedAt": null,
"Uid": 23,
"MacUuid": "127001-002",
"WsId": "8262b698-73f3-4bd3-9549-c877d66c2d26",
"Online": 0
"account": "cuijun"
}
],
"total": 2,
"totalPages": 1
},
"msg": "success"
}
<<<
error
~~~
~~~
是否需要jwt验证:是
~~~