[TOC]
简要描述
请求URL
https://food.taihuyun.vip/api/foodcash.table/bookDetail?applet_id=1&shop_id=1&token=8014374705939b271a346001006d8aa5&id=2
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
applet_id |
是 |
string |
应用程序ID |
shop_id |
是 |
string |
门店ID |
token |
是 |
string |
用户身份验证的令牌 |
id |
是 |
int |
预订单ID |
返回示例
{
"code": 1,
"msg": "success",
"data": {
"id": 2,
"book_no": "YD2022120754991015",
"table_id": 37,
"book_user": "老王",
"mobile": "13312345678",
"book_date": "2022-12-12",
"book_meal": 3,
"people_count": 2,
"remark": "",
"plateform": 10,
"status": 10,
"cancel_reason": "",
"cancel_date": "0000-00-00 00:00:00",
"create_time": "2022-12-07 09:35:19",
"update_time": "2022-12-07 09:35:19",
"table": {
"table_id": 37,
"table_name": "散台2"
},
"deposits": {
"id": 0,
"table_book_id": 2,
"pay_object": "倚天科技",
"pay_way": 1,
"pay_money": 100,
"pay_no": "ddsws1121212",
"remark": ""
}
}
}
返回参数说明
参数名 |
类型 |
说明 |
book_no |
string |
预定编号 |
book_user |
string |
预定人 |
mobile |
string |
手机号 |
book_date |
string |
预定时间 |
book_meal |
int |
预定餐段,1早餐;2午餐;3晚餐;4夜宵 |
people_count |
int |
预定人数 |
remark |
string |
接待备注 |
book_date |
string |
预定时间 |
plateform |
int |
预定类型; 10.前台;20.小程序 |
status |
int |
预定单状态:预定单状态:10 预定中;20开启就餐中,为清台;30完成,清台达成;40取消;50:超时 |
cancel_reason |
string |
取消预定原因 |
cancel_date |
string |
取消预定时间 |
create_time |
string |
创建时间 |
update_time |
string |
更新时间 |
table.table_name |
string |
桌台名称 |
deposits.pay_object |
string |
押金接收单位 |
deposits.pay_way |
int |
押金收取方式,1.支付宝;2.微信;3.银联;4.现金; |
deposits.pay_money |
int |
押金金额 |
deposits.pay_no |
string |
押金编号 |
deposits.remark |
string |
单据信息 |
备注