文档
测试

设备列表

POST
/qgy/equipment/deviceKeylist

接口描述

查看当前用户下所属分组的Windows和Android设备 可以根据设备序列号 || 系统区别 || 状态 || 设备名称 || 几个合并 查看指定系统设备 可空参数不传则返回当前用户所有所属分组的Windows系统和Android系统设备

请求参数

参数名
类型
描述
必填
index
Integer
当前页码
可选
length
Integer
每页个数
可选
userId
String
当前用户ID
必填
deviceKey
String
设备序列号
可选
system
String
系统区别 指定值:Windows 或者 Android 或者 Thermometry
可选
state
Integer
状态 指定值: 0:不在线 或者 1:在线
可选
groupId
Integer
所属分组id
可选
personnelGuid
String
人员guid (查看某个人是否授权到此设备)
可选
name
String
设备名称
可选

返回示例

``` { "result": 1, "msg": "successful operation!", "number": 10, "code": "QG_SUS1000", "data":{ "id": 12, "sceneGuid": "CCCC", "deviceKey": "CCCC", "name": "CCCC", "tag": "CCCCC", "userId": 46, "codeUrl": "https://qgyht.oss-cn-hangzhou.aliyuncs.com/deviceCode/84E0F421FA0706B2.png", "persoonleUrl":"https://qgyht.oss-cn-hangzhou.aliyuncs.com/deviceCode/84E0F421FA0706B2Add.png" "state":1, "createTime":"2018-11-28T07:10:30+0000", //以下两个参数传人员guid才返回 "_checked":true, //是否授权到此设备 为true返回此参数 "_disabled":true, //当前设备是否在线 为true离线状态 离线才返回此参数 } , "count": 1 } ```