[TOC]
简要描述
请求URL
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
deviceNumber |
是 |
string |
设备编码 |
startTime |
否 |
string |
开始时间 yyyy-MM-dd |
endTime |
否 |
string |
结束时间 yyyy-MM-dd |
pageNum |
否 |
int |
页码 |
pageSize |
否 |
int |
一页显示条数 |
返回示例
{
"total": 11,
"rows": [
{
"id": 1409,
"deviceId": 29,
"deviceNumber": "120593101316001",
"sporeImage": "/storage/android/2023-09-05/File-a4fa49f8a2e6497cbd6fb423d91b95ca.jpg",
"time": 1693876543,
"createdAt": "2023-09-05T01:15:43.147+0000",
"updatedAt": "2023-09-05T01:15:43.147+0000"
},
{
"id": 1410,
"deviceId": 29,
"deviceNumber": "120593101316001",
"sporeImage": "/storage/android/2023-09-05/File-20985be0e3504b4982c723647c1568cf.jpg",
"time": 1693876548,
"createdAt": "2023-09-05T01:15:48.764+0000",
"updatedAt": "2023-09-05T01:15:48.764+0000"
},
{
"id": 1411,
"deviceId": 29,
"deviceNumber": "120593101316001",
"sporeImage": "/storage/android/2023-09-05/File-542c289ee7b646018e13140b26dc6207.jpg",
"time": 1693876549,
"createdAt": "2023-09-05T01:15:49.606+0000",
"updatedAt": "2023-09-05T01:15:49.606+0000"
}
],
"code": 200,
"msg": "查询成功"
}
返回参数说明
参数名 |
类型 |
说明 |
msg |
string |
消息 |
code |
int |
状态码 成功200 失败500 |
total |
int |
总记录数 |
rows |
数组 |
记录集合 |
deviceId |
int |
设备ID |
deviceNumber |
string |
设备编码 |
sporeImage |
string |
图片地址 |
time |
long |
时间戳 |
createdAt |
date |
添加时间 |
updatedAt |
date |
修改时间 |
备注