简要描述:
设备列表
请求域名:
- http://xx.com
请求路由: 公用商品详情API
请求参数说明:
返回示例:
正确时返回:
"yz_supply_home_water_machin": {
"goods": {
"id": 7,
"uniacid": 2,
"goods_id": 297,
"yz_goods_id": 353158,
"shop_id": 0,
"goods_type": 3,
"is_lock_status": 2,
"middleground_configuration_id": 3,
"device_type_id": 0,
"combo_type": 1,
"combo_value": 1000,
"created_at": "2025-09-30 11:26:44",
"updated_at": "2025-09-30 11:26:45",
"deleted_at": null,
"has_many_yz_goods_option": [
{
"id": 10,
"goods_id": 297,
"option_id": 470,
"yz_goods_id": 353158,
"yz_option_id": 4708188,
"shop_goods_specs": "561",
"spec_value_ids": "561",
"spec_value_names": "默认",
"combo_type": 1,
"combo_value": 1000,
"created_at": "2025-09-30 11:26:45",
"updated_at": "2025-09-30 11:26:45",
"deleted_at": null
},
{
"id": 11,
"goods_id": 297,
"option_id": 471,
"yz_goods_id": 353158,
"yz_option_id": 4708189,
"shop_goods_specs": "562",
"spec_value_ids": "562",
"spec_value_names": "默认1",
"combo_type": 1,
"combo_value": 10000,
"created_at": "2025-09-30 11:26:45",
"updated_at": "2025-09-30 11:26:45",
"deleted_at": null
}
],
"has_one_device_type": null
},
"optionsData": [
{
"id": 470,
"title": "默认",
"combo_type": 1,
"combo_value": 1000
},
{
"id": 471,
"title": "默认1",
"combo_type": 1,
"combo_value": 10000
}
]
}
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| yz_supply_home_water_machin.goods_type | int | 1.设备2滤芯3续费 (暂定如中台出API差异很大可能会调整返回信息) |
| combo_type | int | 1时常套餐,2出水量套餐 |
| combo_value | int | 套餐值:时常/出水量 |
| optionsData | array | 套餐商品时规格与套餐对应值 |
| deviceTypeName | 设备类型名称非套餐商品才有 |