## 獲取設備分組
**簡要描述:**
* 獲取設備分組
**請求URL:**
* /deviceGroup/list
**請求方式:**
* GET
**參數:**
| 參數名 | 必選 | 類型 | 說明 |
| --- | --- | --- | --- |
| page | 否 | number | 分頁查詢頁碼 默認 1 |
| pageSize | 否 | number | 分頁查詢每頁數量 默認 10 |
**返回參數說明**
| 參數名 | 類型 | 說明 |
| --- | --- | --- |
| list | array | 數據列表 |
| total | number | 總數量 |
| currentPage | number | 當前頁 |
| totalPage | number | 總頁數 |
| pageSize | number | 每頁數量 |
| deviceGroupName| String | 設備分組名稱 |
| deviceGroupId| number | 設備分組id |
**返回示例**
~~~
{
"code": 0,
"message": "請求成功",
"data": {
"list": [
{
"deviceGroupName": "辦公室",
"deviceGroupId": 1,
"deviceList": [
{
"deviceId": "2E0055000351383232363638",
"deviceName": 1,
"enable": 0,
"online": 0
}
]
}
],
"total": 1,
"currentPage": 1,
"totalPage": 1,
"pageSize": 10,
"keyword": null
}
}
~~~