[TOC]
简要描述
请求URL
https://food.taihuyun.vip/api/foodcash.table/lists?applet_id=1&shop_id=1&token=8014374705939b271a346001006d8aa5
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
applet_id |
是 |
string |
应用程序ID |
shop_id |
是 |
string |
门店ID |
token |
是 |
string |
用户身份验证的令牌 |
table_id |
是 |
string |
餐桌ID |
返回示例
{
"code": 1,
"msg": "success",
"data": {
"list": [
{
"table_id": 65,
"table_name": "领导餐桌",
"people": 15,
"consume": "150.00",
"ware_price": "5.00",
"row_no": "1",
"status": {
"text": "空闲",
"value": 10,
"order_id": [],
"time": "",
"pay_price": "0.00",
"pact": null
},
"sort": 0,
"shop_id": 1,
"category_id": {
"text": "包厢",
"value": 3
},
"applet_id": 1,
"create_time": "2022-08-10 15:16:12",
"update_time": "2022-12-02 16:10:19",
"shop": {
"shop_id": 1,
"shop_name": "石化民族大食堂",
"shop_category_id": 0,
"logo": "https://food.taihuyun.vip/uploads/20220601/7c2648c6504b69c9bccafb7939060e81.png",
"front": "https://food.taihuyun.vip/uploads/20220530/44fbcb66ae95e40c87d24493edf8b2da.png",
"linkman": "sky",
"phone": "15358052238",
"shop_hours": "00:00 - 23:59",
"province": "新疆维吾尔自治区",
"city": "乌鲁木齐市",
"district": "米东区",
"address": "新疆乌鲁木齐市",
"coordinate": "43.975522,87.659912",
"poi_id": "656761524125795479",
"summary": "清真,美味",
"tang_mode": 1,
"is_order": {
"text": "开启",
"value": 1
},
"is_delivery": {
"text": "开启",
"value": 1
},
"delivery": "self",
"is_grab": {
"text": "开启",
"value": 1
},
"status": {
"text": "营业中",
"value": 1,
"status": 1
},
"out_show": {
"text": "显示",
"value": 1
},
"sort": 100,
"sf_shop_id": "",
"dada_shop_id": "",
"make_shop_id": "",
"applet_id": 1,
"is_team": 0,
"create_time": "2022-05-27 00:18:48",
"update_time": "2022-11-14 17:46:24"
}
}
]
}
返回参数说明
参数名 |
类型 |
说明 |
list.table_name |
string |
桌台名称 |
list.people |
string |
人数 |
list.status.value |
int |
桌台状态:10:空闲;20:已预订;30:待结账;40:待清台;50:锁定 |
list.status.order_id |
object |
订单ID |
list.status.pay_price |
int |
待支付金额 |
list.status.time |
int |
用时 |
list.category_id.value |
int |
餐桌类型; 0全部,2大厅;3包厢;5散台;6吧台;7宴会厅 |
list.create_time |
string |
创建时间 |
备注