文档
测试

设备分组列表

POST
/qgy/equipgroup/list

接口描述

查看当前用户下设备分组信息(树状)

请求参数

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

返回示例

``` { "result": 1, "msg": "successful operation!", "code": "QG_SUS1000", "data": [ { "id": 1, "pid": 0, "name": "浙江", "createTime": "2020-09-09 00:00:00", "userId": "1", "children": [ { "id": 2, "pid": 1, "name": "杭州", "createTime": "2020-09-09 00:00:00", "userId": "1", "children": [ { "id": 3, "pid": 2, "name": "江干区", "createTime": "2020-09-09 00:00:00", "userId": "1", "children": null } ] }, { "id": 4, "pid": 1, "name": "温州", "createTime": "2020-09-09 00:00:00", "userId": "1", "children": null } ] } ] } ```