简要描述:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | yangjian | 2024-07-03 |
请求URL:
请求方式:
- POST
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
密码登录请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| items[0][id] | 是 | string | 购物车商品id |
| items[0][amount] | 是 | string | 数量 |
| items[0][use_property] | 是 | string | 选项id |
| items[0][product_name] | 是 | string | 商品名名称 |
| items[0][props_text] | 是 | string | 选项名称 |
| items[0][sales_price] | 是 | string | 价格 |
| store_id | 是 | int | 门店id |
| desk_id | 否 | int | 桌子id |
| seat_id | 否 | int | 座位id |
| is_waimai | 是 | int | 是否外卖 |
| is_dabao | 是 | int | 是否打包 |
| total_amount | 是 | int | 总价 |
| remark | 否 | string | 备注 |
| peoples | 否 | int | 就餐人数 |
| address_id | 否 | int | 外卖地址ID |
返回示例:
正确时返回:
{
"status": 200,
"msg": "ok",
"data": {
"id": 64,
"no": "20240703174532446708",
"user_id": 1,
"store_id": 3,
"is_waimai": 2,
"ziti_time": null,
"is_dabao": 2,
"mobile": null,
"address": null,
"hascanju": 1,
"total_amount": "2.00",
"remark": "备注",
"paid_at": null,
"payment_method": null,
"payment_no": null,
"refund_status": "pending",
"refund_no": null,
"closed": false,
"reviewed": false,
"ship_status": "pending",
"ship_company": null,
"ship_data": null,
"extra": null,
"desk_id": 32,
"seat_id": 14,
"address_id": null,
"peoples": 5,
"created_at": "2024-07-03T09:45:32.000000Z",
"updated_at": "2024-07-03T09:45:32.000000Z",
"deleted_at": null
},
"other": []
}
错误时返回:
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | string | 订单id |
| no | string | 订单编号 |
| user_id | string | 用户id |
| store_id | string | 门店id |
| is_waimai | string | 是否外卖 |
| ziti_time | int | 自提时间 |
| is_dabao | string | 是否打包 |
| hascanju | string | 是否需要餐具 |
| total_amount | string | 总价 |
| remark | string | 备注 |
| desk_id | int | 桌子id |
| seat_id | int |
座位id |
| address_id | int |
外卖地址id |
| peoples | int |
就餐人数 |
备注:
- 无