简要描述:
| 版本号 |
制定人 |
制定日期 |
修订日期 |
| 1.0.0 |
kevin |
2026-01-27 |
|
请求URL:
请求方式:
请求头:
| 参数名 |
是否必须 |
类型 |
说明 |
| token |
是 |
string |
凭证 |
请求参数:
| 参数名 |
是否必须 |
类型 |
说明 |
| store_id |
是 |
string |
凭证 |
| desk_id |
否 |
string |
桌号 |
| ids |
否 |
string |
购物车部分id |
返回示例:
正确时返回:
{
"status": 200,
"msg": "ok",
"data": {
"good_all_price": 12990,
"list": [
{
"cart_id": 5,
"user_id": 4,
"request_good_content_id": 3,
"option_ids": "2",
"number": 10,
"good_info": {
"good_id": 4,
"good_name": "甘榜雞(全雞)",
"cover": "http://pos.com/uploads/cover/2026/01/22/69720285691e4.jpg",
"original_price": 1299,
"price": 1299,
"status": 1,
"good_option_name_list": "不辣"
},
"all_price": 12990
}
],
"shipping_fee": 0,
"store_info": {
"store_id": 2,
"store_name": "大运店",
"logo": "http://pos.com/uploads/stores/2026/01/20/696f137801090.png",
"start_time": "09:00 - 21:00",
"mobile": "13113690002",
"address": "广东省深圳市龙岗区大运地铁站",
"content": "广东省深圳市龙岗区大运地铁站",
"status": 3,
"lng": "",
"lat": "",
"remark": ""
}
},
"other": []
}
错误时返回:
{
"status": 0,
"msg": "验证错误"
}
返回参数说明:
| 参数名 |
类型 |
说明 |
| good_all_price |
string |
所有商品总价格 |
| list |
array |
购物车信息 |
| shipping_fee |
string |
运费 |
| store_info |
array |
门店信息 |
list返回参数说明:
| 参数名 |
类型 |
说明 |
| list.cart_id |
string |
购物车ID |
| list.user_id |
string |
用户uid |
| list.request_good_content_id |
string |
请求商品凭证 |
| list.option_ids |
string |
选项ID |
| list.number |
string |
数量 |
| list.good_info |
string |
商品信息 |
| list.all_price |
string |
单个商品总价格 |
返回参数说明:
| 参数名 |
类型 |
说明 |
| store_id |
string |
门店id |
| store_name |
string |
门店名称 |
| logo |
string |
门店logo |
| start_time |
string |
营业时间 |
| mobile |
string |
门店手机号 |
| address |
string |
门店地址 |
| content |
string |
门店简介 |
| status |
string |
营业状态 1 营业中 2 下架3 打样 |
| lng |
string |
经度 |
| lat |
string |
纬度 |
| remark |
string |
备注 |
备注:
作者:admin 创建时间:2026-01-27 19:19
最后编辑:admin 更新时间:2026-02-05 21:16