简要描述:
添加设备
请求域名:
- http://xx.com
请求路由:
GET/&route=plugin.yz-supply-home-water-machin.frontend.device.device.addDevice
请求参数说明:
| 参数名 | 类型 | 是否必需 | 说明 | |
|---|---|---|---|---|
| device_sn | string | 是 | 设备序列号 通过条形码获取设备信息返回 | |
| device_imei | string | imem | 设备imei | |
| device_title | string | 是 | 设备名称 | |
| location_name | string | 是 | 场所名称 | |
| device_address | string | 是 | 设备定位-地址 | |
| lng | string | 是 | 设备定位-经度 | |
| lat | string | 是 | 设备定位-纬度 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {}
}
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|