设备详情
<h5>简要描述</h5>
<ul>
<li>注释见设备列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{service}}/device/detail</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>请求Body参数</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;">box_id</td>
<td style="text-align: left;">是</td>
<td>string</td>
<td>设备box_id</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
"code": 10000,
"data": {
"id": 7080,
"name": "龙狮谷常化素食餐厅",
"type": 2,
"vend_id": 0,
"camera_version": "2",
"divide_type": 1,
"dev_id": "",
"core_type": 2,
"operator_id": 750,
"group_id": 0,
"api_id": 19,
"box_id": "990008434208398",
"x": 0,
"y": 0,
"province": "",
"city": "",
"district": "",
"surround": "",
"location": "",
"video_url": "",
"seq_id": 2258036,
"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
},
"msg": "Success"
}
</code></pre>