运营商-售货机接口文档

undefined


设备列表

<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;">header</th> <th style="text-align: left;">必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">token</td> <td style="text-align: left;">是</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": 7080,设备主键ID "name": "龙狮谷常化素食餐厅",设备别名 "type": 2,类型 "vend_id": 0,弹簧柜型号 "camera_version": "2",摄像头版本 "divide_type": 1,分成方式 "dev_id": "",开发者ID "core_type": 2,主板 "operator_id": 750,运营商 "group_id": 0, "api_id": 19,识别模型 "box_id": "990008434208398",设备ID(唯一) "x": 0,经度 "y": 0,维度 "province": "",省 "city": "",市 "district": "",区 "surround": "",地标物 "location": "",位置 "video_url": "", "seq_id": 2258036,库存SEQ "status": 1,状态 "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": 1704357322, "update_time": 1704357515, "is_enable": 1,启用 "is_fupin": 0 }, { "id": 7079, "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": "353470090031350", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257992, "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": 1704355791, "update_time": 1704355799, "is_enable": 1, "is_fupin": 0 }, { "id": 7078, "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": "353470090031764", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257988, "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": 1704355698, "update_time": 1704355706, "is_enable": 1, "is_fupin": 0 }, { "id": 7077, "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": "353470090039205", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257978, "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": 1704355516, "update_time": 1704355563, "is_enable": 1, "is_fupin": 0 }, { "id": 7076, "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": "353470090040799", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257970, "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": 1704355360, "update_time": 1704355371, "is_enable": 1, "is_fupin": 0 }, { "id": 7075, "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": "353470090047125", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257955, "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": 1704354802, "update_time": 1704354810, "is_enable": 1, "is_fupin": 0 }, { "id": 7074, "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": "353470090039601", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257951, "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": 1704354698, "update_time": 1704354709, "is_enable": 1, "is_fupin": 0 }, { "id": 7073, "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": "353470090038900", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257946, "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": 1704354608, "update_time": 1704354616, "is_enable": 1, "is_fupin": 0 }, { "id": 7072, "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": "353470090038389", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257839, "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": 1704351818, "update_time": 1704351829, "is_enable": 1, "is_fupin": 0 }, { "id": 7071, "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": "353470090027879", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257828, "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": 1704351668, "update_time": 1704351675, "is_enable": 1, "is_fupin": 0 }, { "id": 7070, "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": "353470090128926", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257738, "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": 1704348826, "update_time": 1704348839, "is_enable": 1, "is_fupin": 0 }, { "id": 7069, "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": "353470090041607", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257712, "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": 1704348183, "update_time": 1704348194, "is_enable": 1, "is_fupin": 0 }, { "id": 7068, "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": "353470090040088", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257705, "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": 1704348044, "update_time": 1704348052, "is_enable": 1, "is_fupin": 0 }, { "id": 7067, "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": "353470090058809", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257700, "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": 1704347942, "update_time": 1704347952, "is_enable": 1, "is_fupin": 0 }, { "id": 7066, "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": "353470090031277", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257692, "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": 1704347734, "update_time": 1704347743, "is_enable": 1, "is_fupin": 0 }, { "id": 7065, "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": "353470090059187", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257680, "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": 1704347202, "update_time": 1704347210, "is_enable": 1, "is_fupin": 0 }, { "id": 7064, "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": "353470090066224", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257677, "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": 1704347089, "update_time": 1704347097, "is_enable": 1, "is_fupin": 0 }, { "id": 7063, "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": "353470090057280", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257670, "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": 1704346991, "update_time": 1704347001, "is_enable": 1, "is_fupin": 0 }, { "id": 7062, "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": "353470090038587", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257664, "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": 1704346895, "update_time": 1704346903, "is_enable": 1, "is_fupin": 0 }, { "id": 7061, "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": "353470090029255", "x": 0, "y": 0, "province": "", "city": "", "district": "", "surround": "", "location": "", "video_url": "", "seq_id": 2257640, "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": 1704346281, "update_time": 1704346291, "is_enable": 1, "is_fupin": 0 } ], "total": 7060 }, "msg": "Success" } </code></pre>

页面列表

ITEM_HTML