仓体 - 列表
<h5>简要描述</h5>
<ul>
<li>仓体列表接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>liyuan_device/warehouse/info/list</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">pageNo</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>页码</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>每页个数</td>
</tr>
<tr>
<td style="text-align: left;">cabinetId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">long</td>
<td>电柜id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 0,
"list": [
{
"address": "电柜3-详细地址",
"allow": 3,
"cabinet": "电柜3",
"cabinetCode": "2",
"createBy": 626314038275473408,
"createTime": 1638861057542,
"iccid": "2",
"id": 628094705875288064,
"img": "电柜3.png",
"latitude": "3-2",
"longitude": "3-1",
"mcuVersion": "3",
"merchantId": 1,
"pocketNum": 3,
"protocolVersion": "3",
"remark": "电柜-备注",
"signal": "3",
"status": 1,
"storeId": 1,
"storeName": "门店烧烤",
"temperature": 44.0,
"updateBy": 626314038275473408,
"updateTime": 1638861256828,
"version": "3"
},
{
"address": "电柜1-详细地址",
"allow": 1,
"cabinet": "电柜1",
"cabinetCode": "1",
"createBy": 626314038275473408,
"createTime": 1638860592666,
"iccid": "1",
"id": 628092756044021760,
"img": "电柜1.png",
"latitude": "1-2",
"longitude": "1-1",
"mcuVersion": "1",
"merchantId": 2,
"pocketNum": 1,
"protocolVersion": "1",
"remark": "电柜1-备注",
"signal": "1",
"status": 1,
"storeId": 2,
"temperature": 55.0,
"updateBy": 626314038275473408,
"updateTime": 1638860592666,
"version": "1"
}
],
"pageTurn": {
"currentPage": 1,
"end": 2,
"firstPage": 1,
"nextPage": 1,
"page": 1,
"pageCount": 1,
"pageSize": 200,
"prevPage": 1,
"rowCount": 2,
"start": 0,
"startIndex": 0
},
"tip": "请求成功"
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">id</td>
<td style="text-align: left;">long</td>
<td>主键id</td>
</tr>
<tr>
<td style="text-align: left;">index</td>
<td style="text-align: left;">int</td>
<td>仓门编号</td>
</tr>
<tr>
<td style="text-align: left;">doorTemperature</td>
<td style="text-align: left;">Folat</td>
<td>仓内温度</td>
</tr>
<tr>
<td style="text-align: left;">doorStatus</td>
<td style="text-align: left;">Integer</td>
<td>仓门状态 1-打开 2-关闭</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">Integer</td>
<td>状态 1-启用 2-禁用</td>
</tr>
<tr>
<td style="text-align: left;">fireStatus</td>
<td style="text-align: left;">Integer</td>
<td>灭火器状态 1-未触发 2-已触发</td>
</tr>
<tr>
<td style="text-align: left;">battery</td>
<td style="text-align: left;">String</td>
<td>电池编号</td>
</tr>
<tr>
<td style="text-align: left;">electricity</td>
<td style="text-align: left;">Integer</td>
<td>电量</td>
</tr>
<tr>
<td style="text-align: left;">batteryTemperature</td>
<td style="text-align: left;">Float</td>
<td>电池温度</td>
</tr>
<tr>
<td style="text-align: left;">errorStatus</td>
<td style="text-align: left;">Integer</td>
<td>异常状态 0-无异常 1-充电异常 2-仓门异常</td>
</tr>
<tr>
<td style="text-align: left;">updateTime</td>
<td style="text-align: left;">Date</td>
<td>更新时间</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>