文档
测试

设备详情

GET
{{host}}/api/ynl-unit/device-setting/{slug}/{id}

接口描述

示例:{{host}}/api/ynl-unit/device-setting/coldchain-warehouse/584,目前温湿度的设置,slug都是coldchain-warehouse

说明 / 示例

{ "title": "设备详情", "content": [ { "label": "单位名称", "field": "unit_name", "value": "德阳市罗江区蟠龙新型农民合作联合社", "type": "text", "extends": [] }, { "label": "设备名称", "field": "device_name", "value": "农场气调库 #2", "type": "text", "extends": [] }, { "label": "设备编码", "field": "code", "value": "95000303", "type": "text", "extends": [] }, { "label": "监测位置", "field": "space", "value": "气调库内部", "type": "text", "extends": [] }, { "label": "监测模块", "field": "module_name", "value": "温湿度监测", "type": "text", "extends": [] } ] }