简要描述:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | kevin | 2026-01-27 |
请求URL:
请求方式:
- GET
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| token | 是 | string | 凭证 |
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| request_good_id | 是 | string | 商品请求凭证 |
| number | 是 | string | 数量 |
| option_ids | 是 | string | 选项ID列表,逗号隔开; 1,2 |
| store_id | 是 | string | 门店ID |
| desk_id | 否 | string | 桌号ID |
返回示例:
正确时返回:
{
"status": 200,
"msg": "加入成功",
"data": {
"cart_id": 6
},
"other": []
}错误时返回:
{
"status": 0,
"msg": "验证错误"
}返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| cart_id | string | 购物车ID |
备注:
- 无
作者:admin 创建时间:2026-01-27 18:33
最后编辑:admin 更新时间:2026-02-05 21:16
最后编辑:admin 更新时间:2026-02-05 21:16