curl --location --request GET '/devices' \
--header 'Authorization: Bearer {{token}}'
{
"code": 200,
"message": "获取设备列表成功",
"data": {
"deviceList": [
{
"id": 0,
"name": "string",
"deviceGroupId": 0,
"policyId": 0,
"imei": "string",
"model": "string",
"osVersion": "string",
"serialNumber": "string",
"lastCheckIn": "2019-08-24T14:15:22Z",
"autoGroup": true,
"state": "string"
}
],
"total": 0,
"size": 0,
"current": 0,
"pages": 0,
"hasNext": true,
"hasPrevious": true
}
}