[TOC]
简要描述
请求URL
https://food.taihuyun.vip/api/foodcash.table/payTableInfo?applet_id=1&shop_id=1&token=8014374705939b271a346001006d8aa5&table_id=24
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
applet_id |
是 |
string |
应用程序ID |
shop_id |
是 |
string |
门店ID |
token |
是 |
string |
用户身份验证的令牌 |
table_id |
是 |
int |
桌台ID |
返回示例(有预订单)
{
"code": 1,
"msg": "success",
"data": {
"people_count": 3,
"book": {
"id": 310,
"book_no": "YD2023011055521015",
"table_id": 24,
"book_user": "Nikoo",
"mobile": "13338772204",
"book_date": "2023-01-10",
"book_meal": 2,
"people_count": 3,
"remark": "你好",
"plateform": 10,
"status": 20,
"cancel_reason": "",
"cancel_date": "0000-00-00 00:00:00",
"create_time": "2023-01-10 11:25:43",
"update_time": "2023-01-10 11:25:55",
"deposits": {
"id": 153,
"table_book_id": 310,
"pay_object": "小禾呈",
"pay_way": 1,
"pay_money": 100,
"pay_no": "zfb123123123",
"remark": "test",
"create_time": "2023-01-10 11:25:43",
"update_time": "2023-01-10 11:25:43"
}
},
"order_time": "2023-01-10 11:26:01",
"order_plateform": {
"text": "前台收银端",
"value": 20
},
"table_name": "专3包",
"user_name": "Nikoo",
"mobile": "13338772204"
}
}
返回示例(无预订单)
{
"code": 1,
"msg": "success",
"data": {
"people_count": 2,
"book": null,
"order_time": "2023-01-10 11:16:45",
"order_plateform": {
"text": "前台收银端",
"value": 20
},
"table_name": "散台2",
"user_name": "刘小米",
"mobile": "15358092238"
}
}
返回参数说明
参数名 |
类型 |
说明 |
book |
object |
是否预定 |
book.book_no |
string |
预定编号 |
book.book_user |
string |
预定人 |
book.mobile |
string |
预订人手机号 |
book.book_date |
string |
预定时间 |
book.book_meal |
int |
预定餐段,1早餐;2午餐;3晚餐;4夜宵 |
book.people_count |
int |
预定人数 |
book.remark |
string |
接待备注 |
book.book_date |
string |
预定时间 |
book.plateform |
int |
预定类型; 10.前台;20.小程序 |
book.status |
int |
预定单状态:预定单状态:10 预定中;20开启就餐中,为清台;30完成,清台达成;40取消;50:超时 |
book.cancel_reason |
string |
取消预定原因 |
book.cancel_date |
string |
取消预定时间 |
book.create_time |
string |
创建时间 |
book.update_time |
string |
更新时间 |
book.deposits.pay_object |
string |
押金接收单位 |
book.deposits.pay_way |
int |
押金收取方式,1.支付宝;2.微信;3.银联;4.现金; |
book.deposits.pay_money |
int |
押金金额 |
book.deposits.pay_no |
string |
押金编号 |
book.deposits.remark |
string |
单据信息 |
book.deposits.create_time |
string |
押金创建时间 |
order_time |
string |
下单时间 |
table_name |
string |
下单桌台 |
user_name |
string |
下单人 |
order_plateform |
int |
下单类型;10.小程序;20.前台 |
mobile |
string |
下单人手机号 |
people_count |
int |
下单人数 |
备注