简要描述:

添加设备

请求域名:

  • http://xx.com

请求路由:

GET/&route=plugin.yz-supply-home-water-machin.frontend.device.device.addDevice

请求参数说明:

参数名 类型 是否必需 说明
device_sn string 设备序列号 通过条形码获取设备信息返回
device_barcode string 设备条形码 通过条形码获取设备信息返回
device_title string 设备名称
location_name string 场所名称
device_address string 设备定位-地址
lng string 设备定位-经度
lat string 设备定位-纬度
device_type int 通过条形码获取设备信息返回
order_sn int 关联套餐订单

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {}
}

返回参数说明:

参数名 类型 说明