## 获取设备分组
**简要描述:**
* 获取设备分组
**请求URL:**
* /auth/list
**请求方式:**
* GET
**参数:**
| 参数名 | 必选 | 类型 | 说明 |
| --- | --- | --- | --- |
**返回参数说明**
| 参数名 | 类型 | 说明 |
| --- | --- | --- |
| list | array | 数据列表 |
| total | number | 总数量 |
| currentPage | number | 当前页 |
| totalPage | number | 总页数 |
| pageSize | number | 每页数量 |
| groupIdList| array | 设备分组id |
| deviceIdList| array | 设备id |
**返回示例**
~~~
{
"code": 0,
"message": "请求成功",
"data": {
"list": [
{
"userId": 1,
"username": "办公室",
"groupIdList": [
{
"deviceGroupId": "1",
"deviceGroupName": "1"
}
],
"deviceIdList": [
{
"deviceId": "1",
"deviceName": "1"
}
]
}
],
"total": 1,
"currentPage": 1,
"totalPage": 1,
"pageSize": 10,
"keyword": null
}
}
~~~