文档
测试

在线设备列表(手机APP)

POST
/qgy/equipgroup/onlineList

接口描述

在线设备列表

请求参数

参数名
类型
描述
必填
userId
String
当前账户id
必填

返回示例

``` { "result": 1, "msg": "successful operation!", "code": "QG_SUS1000", "data": [ { "id": 1, "pid": 1, "name": "华煤东门", //设备分组名称 "createTime": "2020-09-09 00:00:00", "userId": "91A72CE7FC134285A5F19B55DBF6D36E", "children": null, "online":2,//当前分组的在线设备数量 "offline":1,//当前分组的离线设备数量 "deviceKeys": [ //所属设备分组的设备数组 { "system": "Android", "deviceKey": "HJWV19DM47", "list": [], "id": 79, "sceneGuid": 0, "name": "HJWV19DM47", "state": 0,//在线状态 "createTime": "2020-07-24 15:37:41", "codeUrl": "https://qgyface.oss-cn-hangzhou.aliyuncs.com/code/HJWV19DM47.png", "intervals": 1000, "persoonleUrl": "https://qgyface.oss-cn-hangzhou.aliyuncs.com/code/HJWV19DM47Add.png", "groupId": 1, "topFive": [//当前设备最后识别5条未识别数据 { "deviceKey": "HJWV19DM47",//设备序列号 "list": [], "guid": "BFE8242B7B4247C4A8E0564CD21C33D8", "name": "sll", "personGuid": "97D95A11B8C84030A1AD5236656B1B27", "photoUrl": "https://qgyface.oss-cn-hangzhou.aliyuncs.com/discern/7f1a81bc-7af9-477a-adc0-3e212d172e50.png?x-oss-process=style/format_png",//识别的图片 "showTime": "2020-07-24 15:38:25", "hat": 0, "glasses": 0, "source": null, "photoName": "7f1a81bc-7af9-477a-adc0-3e212d172e50.png", "temperature": 30.29,//体温 "tempAbnormal": 0,//体温异常 0:正常 1:异常 "faceConfidence": 1.26, "liveConfidence": 1.26, "sex": "女", "sceneId": 0, "type": 1 } ] } ] } } ```