简要描述:
设备列表
请求域名:
- http://xx.com
请求路由:
route=plugin.yz-supply-water-machine.frontend.consumer.device.show
请求参数说明:
参数名 | 类型 | 是否必需 | 说明 |
---|---|---|---|
device_no | string | 是二选一 | 设备编号 |
device_id | int | 是 二选一 | 设备id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"id": 1,
"uniacid": 2,
"merchant_id": 1,
"merchant_member_id": 1,
"device_no": "123456789012345",
"supply_device_id": 1,
"address": "测试",
"lately_at": null,
"created_at": "2025-08-05 10:37:04",
"updated_at": "2025-08-05 10:37:04",
"belongs_to_merchant": {
"id": 1,
"member_id": 1,
"account": "11",
"uniacid": 2
}
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
data.device_no | string | 设备编号 |
data.address | string | 设备地址 |
data.created_at | string | 时间 |