点餐收银端

石化点餐项目


开台

[TOC]

简要描述
  • 开台接口
请求URL
  • https://food.taihuyun.vip/api/foodcash.table/openTable?applet_id=1&shop_id=1&token=8014374705939b271a346001006d8aa5
请求方式
  • POST
参数
参数名 必选 类型 说明
applet_id string 应用程序ID
shop_id string 门店ID
token string 用户身份验证的令牌
id int type=10时,表示桌台id;type=20时,表示预定单id
type int 表示开台的入口;10表示桌台开台;20表示通过预定单入口开台
people_count int 就餐人数
返回示例
  • 提交参数
curl --location --request POST 'https://food.taihuyun.vip/api/foodcash.table/openTable?applet_id=1&shop_id=1&token=8014374705939b271a346001006d8aa5' \
--data-raw '{
    "id":17,
    "people_count":9,
    "type":10
}'
返回参数
  • 返回状态代码: 200
{
    "code": 1,
    "msg": "开台成功",
    "data": []
}
备注
  • 分为预定单开台和直接桌台开台两种,使用参数type区别

  • 更多返回错误代码请看基本参数中的参数说明

页面列表

ITEM_HTML