简要描述:

  • 就餐人数

请求域名:

  • http://xx.com

请求路由:

GET/&route=plugin.store-scan-code-meals.frontend.order-food.confirm-meal

请求参数说明:

参数名 类型 是否必需 说明
people_num int 就餐人数
dt_id int 餐桌ID
uid int 付款会员ID

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "",
    "data": {
            "id": 1,
            "uniacid": 6,
            "store_id": 8,
            "table_id": 3,
            "creator_id": 2455,
            "payer_id": 0,
            "people_num": 3,
            "tea_table_fee": "6.00",
            "tableware_fee": "6.00",
            "other_info": null,
            "status": 0,
            "created_at": "2025-08-08 09:58:28",
            "dining_table": {
                "id": 3,
                "uniacid": 6,
                "store_id": 8,
                "classify_id": 1,
                "order_by": 0,
                "table_num": 2,
                "name": "2号桌",
                "status": 1,
                "created_at": "2025-07-23 16:10:57",
                "status_name": "点餐中",
                "has_one_classify": {
                    "id": 1,
                    "name": "测试分区"
                }
            },
            "tea_table_name": "茶位费",
            "tableware_name": "餐具费",
            "status_name": "点餐中",
            "table_dishes": [
                {
                    "id": 1,
                    "uniacid": 6,
                    "pre_id": 1,
                    "goods_id": 264,
                    "option_id": 0,
                    "tbc_total": 3,
                    "pre_total": 0,
                    "total": 0,
                    "dish_price": "0.00",
                    "is_add_dish": 0,
                    "status": 0,
                    "created_at": "2025-08-08 10:31:24",
                    "status_name": "待确认",
                    "qty": 3
                }
            ]
        }
}

data返回参数说明:

参数名 类型 说明
id int 餐桌预订单ID
table_id int 餐桌ID
store_id int 门店ID
people_num int 就餐人数
meal_people_num int 就餐人数
tea_table_fee int 茶位费
tableware_fee int 餐具费
tea_table_name string 茶位费自定义名称
tableware_name string 餐具费自定义名称
status_name string 状态名称
table_dishes array 点餐菜品信息

table_pre_order.table_dishes 参数说明:

参数名 类型 说明
id int 预菜品ID
pre_id int 餐桌预订单ID
goods_id int 商品ID
option_id int 商品规格ID
tbc_total int 菜品总数量
pre_total int 待上菜数量
total int 已上菜数量
qty int 菜品数量
goods_price int 商品单价
goods_title int 商品名称
goods_thumb int 商品图片
goods_option_title int 商品规格名称