简要描述:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | kevin | 2026-01-27 |
请求URL:
请求方式:
- GET
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| token | 是 | string | 凭证 |
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| store_id | 是 | string | 凭证 |
| desk_id | 否 | string | 桌号 order_type=1 |
| person_num | 是 | string | 人数 order_type=1 |
| is_in_tinyint | 是 | string | 是否在店 order_type=1 |
| ids | 否 | string | 购物车部分id |
| order_type | 是 | string | 订单类型【1=内用,2=外带】 |
| pickup_time | 否 | string | 取货时间 order_type=2;2026-01-28 12:00 |
| username | 否 | string | 取货人姓名 order_type=2 |
| mobile | 否 | string | 联系电话 order_type=2 |
| remark | 否 | string | 备注 order_type=2 |
| is_need_tableware | 是 | string | 是否需要餐具【1=需要,2=不需要】 |
| pay_method | 是 | string | 支付方式 ‘Cash’=现金, ‘LinePay’=LinePay, ‘Credit’=信用卡, |
| pay_method_msg | 是 | string | 支付方式信息 |
| pay_type | 是 | string | ‘pc’, ‘public’, ‘small’, ‘app’, ‘h5’ |
返回示例:
正确时返回:
{
"status": 200,
"msg": "下单成功",
"data": {
"order_id": 1,
"order_num": "202601272006085885311954"
},
"other": []
}错误时返回:
{
"status": 0,
"msg": "验证错误"
}返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| order_id | string | 订单id |
| order_num | string | 订单号 |
备注:
- 无
作者:admin 创建时间:2026-01-27 20:07
最后编辑:admin 更新时间:2026-02-05 21:16
最后编辑:admin 更新时间:2026-02-05 21:16