文档
测试

获取购物车商品

POST
http://chaofen.zhongbochanghong.cn/addons/yun_shop/api.php?i=1&uuid=0&type=5&mid=1&version=v1.1.137&basic_info=1&validate_page=1&route=plugin.store-cashier.frontend.shoppingCart.member-food-cart.index&store_id=1&goods_id=34&total=1

请求参数

参数名
类型
描述
必填
store_id
int
酒店ID
必填

响应参数

参数名
类型
描述
必填
id
int
购物车ID
必填
hotel_id
int
酒店ID
必填
goods_id
int
商品ID
必填
total
int
数量
必填
goods
array
商品信息
必填

说明 / 示例

``` { "result": 1, "msg": "获取列表成功", "data": [ { "id": 1, "hotel_id": 1, "goods_id": 13, "total": 1, "option_id": 0, "created_at": "2022-07-06 10:56:24", "goods": { "id": 13, "thumb": "images/1/2022/07/e8cc576dfd3270eb8a1dfe84244c213f.jpg", "price": "2.00", "market_price": "0.00", "title": "泡面", "deleted_at": null, "plugin_id": 33, "stock": 1000, "status": 1, "has_option": 0, "vip_price": "2.00", "next_level_price": "2.00", "has_many_goods_discount": [], "stock_status": 0 }, "goods_option": null, "has_many_address": [], "has_many_member_address": [], "option_str": "" } ] } ```