点餐收银端

石化点餐项目


获得预定列表

[TOC]

简要描述
  • 获得预定列表接口
请求URL
  • https://food.taihuyun.vip/api/foodcash.table/getBooks?applet_id=1&shop_id=1&token=8014374705939b271a346001006d8aa5&table_category=
请求方式
  • GET
参数
参数名 必选 类型 说明
applet_id string 应用程序ID
shop_id string 门店ID
token string 用户身份验证的令牌
id int 预订单ID
create_begin string 下单开始日期
create_end string 下单结束时间
book_date_begin string 预定日期 范围开始
book_date_end string 预定日期 范围结束
book_meal int 餐段: 1.早餐;2.午餐;3.晚餐;4.夜宵
plateform int 预定方式:10.前台;20.小程序
status int 预定单状态:10.预定中;20.开启就餐中,为清台;30.完成,清台达成;40.取消;50.超时
key_words string Tues 关键词:姓名、电话
table_category int 餐桌类型, 0全部,2大厅;3包厢;5散台;6吧台;7宴会厅
page int 页码
返回示例
{
  "code": 1,
  "msg": "success",
  "data": {
    "total": 6,
    "per_page": 10,
    "current_page": 1,
    "last_page": 1,
    "data": [
      {
        "id": 1,
        "book_no": "YD2022120649101534",
        "table_id": 37,
        "book_user": "老王",
        "mobile": "13312345678",
        "book_date": "2022-12-12",
        "book_meal": 2,
        "people_count": 2,
        "remark": "",
        "plateform": 10,
        "status": 40,
        "cancel_reason": "临时有事",
        "cancel_date": "2022-12-08 11:17:34",
        "create_time": "2022-12-06 18:04:50",
        "update_time": "2022-12-08 14:13:14",
        "table": {
          "table_id": 37,
          "table_name": "散台2"
        },
        "deposits": {
          "id": 1,
          "table_book_id": 1,
          "pay_object": "倚天科技",
          "pay_way": 1,
          "pay_money": 100,
          "pay_no": "ddsws1121212",
          "remark": "",
          "create_time": "2022-12-06 18:04:50",
          "update_time": "2022-12-06 18:04:50"
        }
      },
      {
        "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": 40,
        "cancel_reason": "临时有事",
        "cancel_date": "2022-12-08 11:46:11",
        "create_time": "2022-12-07 09:35:19",
        "update_time": "2022-12-08 11:46:11",
        "table": {
          "table_id": 37,
          "table_name": "散台2"
        },
        "deposits": {
          "id": 2,
          "table_book_id": 2,
          "pay_object": "倚天科技",
          "pay_way": 1,
          "pay_money": 100,
          "pay_no": "ddsws1121212",
          "remark": "",
          "create_time": "2022-12-07 09:35:19",
          "update_time": "2022-12-07 09:35:19"
        }
      }
    ]
  }
}
返回参数说明
  • 返回状态代码: 200
参数名 类型 说明
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 单据信息
create_begin string 下单开始日期
create_end string 下单结束时间
total int 总页数
per_page int 一页有几条
current_page int 当前页码
备注
  • 更多返回错误代码请看基本参数中的参数说明

页面列表

ITEM_HTML