设备列表
<h5>简要描述</h5>
<ul>
<li>无</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{service}}/device/list</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">字段名</th>
<th style="text-align: left;">示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">token</td>
<td style="text-align: left;">{{token}}</td>
<td>是</td>
<td>string</td>
<td>无</td>
</tr>
</tbody>
</table>
<h5>请求参数示例</h5>
<pre><code>{
"search": "",
"page": "1",
"pageSize": "10"
}
</code></pre>
<h5>json字段说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">字段名</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">search</td>
<td style="text-align: left;">否</td>
<td>string</td>
<td>设备别名/设备box_id,非主键Id</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">否</td>
<td>string</td>
<td>默认为第一页</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">否</td>
<td>string</td>
<td>默认显示10条数据</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"code": 10000,
"data": {
"list": [
{
"id": 7760,设备主键ID
"name": "",设备别名
"type": 2,类型
"vend_id": 0,弹簧柜型号
"camera_version": "2",摄像头版本
"divide_type": 2,分成方式
"dev_id": "",开发者ID
"core_type": 2,主板
"operator_id": 122,运营商
"group_id": 0,
"api_id": 19,识别模型
"box_id": "990008441626137",设备ID(唯一)
"x": 117.14738,经度
"y": 31.83476297802,维度
"province": "安徽省",省
"city": "合肥市",市
"district": "蜀山区",区
"surround": "",地标物
"location": "安徽省合肥市蜀山区文曲路",位贾
"video_url": "",
"seq_id": 2510068,SEQ
"status": 2,状态
"is_exception": 0,异常状态
"exception": "",异常
"exception_time": 0,
"door": 1,门数
"door_status": 0,门状态
"lock_status": 0,锁状态
"refresh_storage_time": 0,
"stock_num": 0,当前库存数
"replenish_stock_num": 0,补货库存数
"create_time": 1713605559,
"update_time": 1718780101,
"is_enable": 1,
"is_fupin": 0,
"remote_control": 1,
"temp_control": "{\"id\":\"7760\",\"type\":\"3\",\"temp\":\"9\",\"time\":[\"08:00\",\"20:00\"]}",
"temp_preload": 0,
"light_status": null,
"is_using": true true为使用中,false为正常
},
{
"id": 7759,
"name": "",
"type": 2,
"vend_id": 0,
"camera_version": "2",
"divide_type": 2,
"dev_id": "",
"core_type": 2,
"operator_id": 122,
"group_id": 0,
"api_id": 19,
"box_id": "990008441628497",
"x": 117.14738,
"y": 31.83476297802,
"province": "安徽省",
"city": "合肥市",
"district": "蜀山区",
"surround": "",
"location": "安徽省合肥市蜀山区文曲路",
"video_url": "",
"seq_id": 2509993,
"status": 2,
"is_exception": 0,
"exception": "",
"exception_time": 0,
"door": 1,
"door_status": 0,
"lock_status": 0,
"refresh_storage_time": 0,
"stock_num": 0,
"replenish_stock_num": 0,
"create_time": 1713604608,
"update_time": 1713604822,
"is_enable": 1,
"is_fupin": 0,
"remote_control": 0,
"temp_control": "",
"temp_preload": 0,
"light_status": null,
"is_using": true
},
{
"id": 7758,
"name": "",
"type": 2,
"vend_id": 0,
"camera_version": "2",
"divide_type": 2,
"dev_id": "",
"core_type": 2,
"operator_id": 122,
"group_id": 0,
"api_id": 19,
"box_id": "353470090039163",
"x": 0,
"y": 0,
"province": "",
"city": "",
"district": "",
"surround": "",
"location": "",
"video_url": "",
"seq_id": 2509228,
"status": 2,
"is_exception": 0,
"exception": "",
"exception_time": 0,
"door": 1,
"door_status": 0,
"lock_status": 0,
"refresh_storage_time": 0,
"stock_num": 0,
"replenish_stock_num": 0,
"create_time": 1713593890,
"update_time": 1713593900,
"is_enable": 1,
"is_fupin": 0,
"remote_control": 0,
"temp_control": "",
"temp_preload": 0,
"light_status": null,
"is_using": true
},
{
"id": 7757,
"name": "",
"type": 2,
"vend_id": 0,
"camera_version": "2",
"divide_type": 2,
"dev_id": "",
"core_type": 2,
"operator_id": 122,
"group_id": 0,
"api_id": 19,
"box_id": "353470000041696",
"x": 0,
"y": 0,
"province": "",
"city": "",
"district": "",
"surround": "",
"location": "",
"video_url": "",
"seq_id": 2509226,
"status": 2,
"is_exception": 0,
"exception": "",
"exception_time": 0,
"door": 1,
"door_status": 0,
"lock_status": 0,
"refresh_storage_time": 0,
"stock_num": 0,
"replenish_stock_num": 0,
"create_time": 1713593844,
"update_time": 1713593857,
"is_enable": 1,
"is_fupin": 0,
"remote_control": 0,
"temp_control": "",
"temp_preload": 0,
"light_status": null,
"is_using": true
},
{
"id": 7756,
"name": "",
"type": 2,
"vend_id": 0,
"camera_version": "2",
"divide_type": 2,
"dev_id": "",
"core_type": 2,
"operator_id": 122,
"group_id": 0,
"api_id": 19,
"box_id": "353470090045269",
"x": 0,
"y": 0,
"province": "",
"city": "",
"district": "",
"surround": "",
"location": "",
"video_url": "",
"seq_id": 2509220,
"status": 2,
"is_exception": 0,
"exception": "",
"exception_time": 0,
"door": 1,
"door_status": 0,
"lock_status": 0,
"refresh_storage_time": 0,
"stock_num": 0,
"replenish_stock_num": 0,
"create_time": 1713593727,
"update_time": 1713593756,
"is_enable": 1,
"is_fupin": 0,
"remote_control": 0,
"temp_control": "",
"temp_preload": 0,
"light_status": null,
"is_using": true
},
{
"id": 7755,
"name": "",
"type": 2,
"vend_id": 0,
"camera_version": "2",
"divide_type": 2,
"dev_id": "",
"core_type": 2,
"operator_id": 122,
"group_id": 0,
"api_id": 19,
"box_id": "353470090030667",
"x": 0,
"y": 0,
"province": "",
"city": "",
"district": "",
"surround": "",
"location": "",
"video_url": "",
"seq_id": 2509217,
"status": 2,
"is_exception": 0,
"exception": "",
"exception_time": 0,
"door": 1,
"door_status": 0,
"lock_status": 0,
"refresh_storage_time": 0,
"stock_num": 0,
"replenish_stock_num": 0,
"create_time": 1713593599,
"update_time": 1713593681,
"is_enable": 1,
"is_fupin": 0,
"remote_control": 0,
"temp_control": "",
"temp_preload": 0,
"light_status": null,
"is_using": true
},
{
"id": 7754,
"name": "",
"type": 2,
"vend_id": 0,
"camera_version": "2",
"divide_type": 2,
"dev_id": "",
"core_type": 2,
"operator_id": 122,
"group_id": 0,
"api_id": 19,
"box_id": "353470090045889",
"x": 0,
"y": 0,
"province": "",
"city": "",
"district": "",
"surround": "",
"location": "",
"video_url": "",
"seq_id": 2509218,
"status": 2,
"is_exception": 0,
"exception": "",
"exception_time": 0,
"door": 1,
"door_status": 0,
"lock_status": 0,
"refresh_storage_time": 0,
"stock_num": 0,
"replenish_stock_num": 0,
"create_time": 1713593556,
"update_time": 1713593688,
"is_enable": 1,
"is_fupin": 0,
"remote_control": 0,
"temp_control": "",
"temp_preload": 0,
"light_status": null,
"is_using": true
},
{
"id": 7753,
"name": "",
"type": 2,
"vend_id": 0,
"camera_version": "2",
"divide_type": 2,
"dev_id": "",
"core_type": 2,
"operator_id": 122,
"group_id": 0,
"api_id": 19,
"box_id": "353470090064260",
"x": 0,
"y": 0,
"province": "",
"city": "",
"district": "",
"surround": "",
"location": "",
"video_url": "",
"seq_id": 2509200,
"status": 2,
"is_exception": 0,
"exception": "",
"exception_time": 0,
"door": 1,
"door_status": 0,
"lock_status": 0,
"refresh_storage_time": 0,
"stock_num": 0,
"replenish_stock_num": 0,
"create_time": 1713593483,
"update_time": 1713593494,
"is_enable": 1,
"is_fupin": 0,
"remote_control": 0,
"temp_control": "",
"temp_preload": 0,
"light_status": null,
"is_using": true
},
{
"id": 7752,
"name": "",
"type": 2,
"vend_id": 0,
"camera_version": "2",
"divide_type": 2,
"dev_id": "",
"core_type": 2,
"operator_id": 122,
"group_id": 0,
"api_id": 19,
"box_id": "353470090045145",
"x": 0,
"y": 0,
"province": "",
"city": "",
"district": "",
"surround": "",
"location": "",
"video_url": "",
"seq_id": 2509198,
"status": 2,
"is_exception": 0,
"exception": "",
"exception_time": 0,
"door": 1,
"door_status": 0,
"lock_status": 0,
"refresh_storage_time": 0,
"stock_num": 0,
"replenish_stock_num": 0,
"create_time": 1713593437,
"update_time": 1713593449,
"is_enable": 1,
"is_fupin": 0,
"remote_control": 0,
"temp_control": "",
"temp_preload": 0,
"light_status": null,
"is_using": true
},
{
"id": 7751,
"name": "",
"type": 2,
"vend_id": 0,
"camera_version": "2",
"divide_type": 2,
"dev_id": "",
"core_type": 2,
"operator_id": 122,
"group_id": 0,
"api_id": 19,
"box_id": "353470090029578",
"x": 0,
"y": 0,
"province": "",
"city": "",
"district": "",
"surround": "",
"location": "",
"video_url": "",
"seq_id": 2509195,
"status": 2,
"is_exception": 0,
"exception": "",
"exception_time": 0,
"door": 1,
"door_status": 0,
"lock_status": 0,
"refresh_storage_time": 0,
"stock_num": 0,
"replenish_stock_num": 0,
"create_time": 1713593393,
"update_time": 1713593403,
"is_enable": 1,
"is_fupin": 0,
"remote_control": 0,
"temp_control": "",
"temp_preload": 0,
"light_status": null,
"is_using": true
}
],
"total": 7740
},
"msg": "Success"
}
</code></pre>