[TOC]
简要描述
请求URL
https://food.taihuyun.vip/api/foodcash.cart/cart?applet_id=1&shop_id=1&token=8014374705939b271a346001006d8aa5
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
applet_id |
是 |
string |
应用程序ID |
shop_id |
是 |
string |
门店ID |
token |
是 |
string |
用户身份验证的令牌 |
返回示例
{
"code": 1,
"msg": "success",
"data": {
"199_117": {
"goods_id": 199,
"goods_num": 2,
"goods_sku_id": 117,
"token": "f88664ebbf6d0ce3fcb5268c2d1e23d5",
"applet_id": 1,
"shop_id": 1,
"create_time": 1671458398
},
"199_118": {
"goods_id": 199,
"goods_num": 1,
"goods_sku_id": 118,
"token": "f88664ebbf6d0ce3fcb5268c2d1e23d5",
"applet_id": 1,
"shop_id": 1,
"create_time": 1671458404
}
}
返回参数说明
参数名 |
类型 |
说明 |
data."199_117" |
string |
购物车下的菜品名称 |
data.goods_num |
string |
购物车下的菜品数量 |
data.goods_sku_id |
string |
购物车下的菜品规格ID |
data.create_time |
string |
购物车下的菜品加入时间 |
备注