简要描述:
-共享直播-设置讲解商品
请求域名:
- http://xx.com
请求URL:
plugin.share-room.frontend.controllers.index.get-explaining-goods
请求参数说明:
| 参数名 | 类型 | 是否必需 | 说明 |
|---|---|---|---|
| room_id | int | 是 | 直播间ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"id": 1059,
"title": "测试日志",
"thumb": "http://127.0.0.1:8888uploads/file/9d2f232d751dbf62e9d6117e821a063d_20240329150028.png",
"price": "101.00",
"has_option": 1,
"stock": 11,
"min_price": "101.00",
"max_price": "101.00",
"vip_price": "101.00",
"next_level_price": "101.00",
"vip_level_status": {
"status": 0,
"word": "",
"tips": ""
},
"has_many_options": [
{
"id": 2032,
"uniacid": 2,
"goods_id": 1059,
"title": "默认",
"thumb": "",
"product_price": "101.00",
"market_price": "101.00",
"cost_price": "101.00",
"stock": 7,
"weight": "12.00",
"display_order": 0,
"specs": "5181",
"skuId": "",
"goods_sn": "",
"product_sn": "",
"virtual": 0,
"red_price": "",
"volume": null,
"option_title": null,
"alias": null,
"thumb_url": "",
"content": ""
}
],
"has_many_goods_discount": []
}
}
错误时返回:
{
"result": 0,
"msg": "请登录",
"data": []
}