文档
测试

设备列表

POST
http://localhost:8888/qgy/equipment/deviceKeylist

接口描述

查看指定的设备数据

请求参数

参数名
类型
描述
必填
index
Integer
当前页码(NULL)
必填
length
Integer
每页个数(NULL)
必填
userId
Integer
当前ID(NOT NULL)
必填

返回示例

``` { "result": 1, "msg": "successful operation!", "number": 10,//每页个数 "code": "QG_SUS1000", "data": [ { "id": 61, "deviceKey": "84E0F420883802FAA79", "userId": 3, "tag": "这是一个测试设备", "name": "测试", "state": 2, "onlineState": 1, "versionNo": "6.0011", "lastActiveTime": "2018-11-27T16:00:00.000+0000", "createTime": "2018-11-27T16:00:00.000+0000", "type": 2, "recType": 1, "appId": "9E5E6BC2C76F4924B9FE40C8966F5D72" } ], "count": 21//总条数 } ``` ```