广纳院新接口

数据字典示例


获取柜子信息详情/移柜数量

<p>欢迎使用ShowDoc!</p> <p><strong>简要描述:</strong> </p> <p><strong>请求URL:</strong> </p> <ul> <li><a href="http://域名/admin/box_detail">http://域名/admin/box_detail</a></li> </ul> <p><strong>请求方式:</strong> </p> <ul> <li>POST</li> </ul> <p><strong>参数:</strong> </p> <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;">mac</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>设备的MAC</td> </tr> </tbody> </table> <p><strong>返回示例</strong> (失败时输出公共参数)</p> <pre><code> { "code": 200, "data": { "info": { # 柜子详情 "id": "15", # 柜子表ID "admin_device_name": "沃柏斯柜子A", # 管理员命名柜子名称 "device_name": "沃柏斯", # 机构自己命名柜子名称 "device_spec": "100*100", # 规格 "device_num": "WBS001", # 柜子编号 "device_model": "防火防爆柜", # 柜子型号 "team_name": "沃柏斯", # 团队名称 "lab_name": "", # 放置实验室名称 "mac": "f0:c8:14:1a:0f:12", # 柜子MAC地址 "brand": "沃柏斯", # 品牌 "temp_threshold": "40", # 温度阈值 "humd_threshold": "80", # 湿度阈值 "floor1": "0", # (暂时没用) "floor2": "0", # (暂时没用) "floor3": "0", # (暂时没用) "note": "30", # 备注 "update_time": "", # 修改时间 "create_time": "2022-01-14 10:31:46", # 柜子创建时间 "is_delete": "0", # 是否删除标识 "temperature": "23.8", # 温度值 "humidity": "67.9", # 湿度值 "lab_id": "0", # 关联实验室ID "lock_count": "2", # 解锁开门人数 "user_ids_b": "39494939016000,49138756604992,61815429632000,50956204833856", # 使用人员用户ID "user_ids_a": "0,50290840607744,50911628795392,61816674695936", # 柜子管理员用户ID "address": "", # 地址位置 "voc": "", # TVOC 值 "online_status": "0", # 柜子是否在线 "door_status": "0", # 柜子状态 "voc_threshold": "" # TVOC阈值 }, "total": 1, # 记录总数 "page_size": 10 # 每页记录数 }, "msg": "成功" } </code></pre> <p><strong>简要描述:</strong> </p> <p><strong>请求URL:</strong> </p> <ul> <li><a href="http://域名/admin/move_count">http://域名/admin/move_count</a></li> </ul> <p><strong>请求方式:</strong> </p> <ul> <li>POST</li> </ul> <p><strong>参数:</strong> </p> <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> </tbody> </table> <p><strong>返回示例</strong> (失败时输出公共参数)</p> <pre><code> { "code": 200, "data": { "count": 0 # 移柜物料数量 }, "msg": "成功" } </code></pre> <p><strong>返回参数说明</strong> </p> <p>|参数名|类型|说明| <strong>备注</strong> </p> <ul> <li>公共参数详见&lt;返回的公共参数&gt;</li> </ul>

页面列表

ITEM_HTML