简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2026-01-27

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 凭证

请求参数:

参数名 是否必须 类型 说明
order_id string 订单id

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "ok",
    "data": {
        "order_id": 1,
        "order_num": "202601272006085885311954",
        "order_type": 2,
        "pickup_time": "2026-01-28 12:00:00",
        "uid": 4,
        "store_id": 2,
        "mobile": "13113690000",
        "username": "kevin",
        "pay_method": "Cash",
        "pay_type": "h5",
        "remark": "",
        "paid_at": "",
        "expire_at": "2026-01-27 20:21:08",
        "close_at": "",
        "shipping_fee": 0,
        "packaging_fee": 0,
        "pay_order_amount": 12990,
        "total_amount": 12990,
        "refund_status": 0,
        "refund_order_num": "",
        "is_need_tableware": 1,
        "good_info": {
            "list": [
                {
                    "number": 10,
                    "cart_id": 5,
                    "user_id": 4,
                    "all_price": 12990,
                    "good_info": {
                        "cover": "http://pos.com/uploads/cover/2026/01/22/69720285691e4.jpg",
                        "price": 1299,
                        "status": 1,
                        "good_id": 4,
                        "good_name": "甘榜雞(全雞)",
                        "original_price": 1299,
                        "good_option_name_list": "不辣"
                    },
                    "option_ids": "2",
                    "request_good_content_id": 3
                }
            ],
            "shipping_fee": 0,
            "good_all_price": 12990
        },
        "created_at": "2026-01-27 20:06:08",
        "status": 0,
        "status_msg": "待支付"
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "验证错误"
}

返回参数说明:

参数名 类型 说明
order_id string 订单id
order_num string 订单号
order_type string 订单类型【1=内用,2=外带】
order_type_msg string 订单类型信息
pickup_time string 取货时间
store_id string 门店id
mobile string 类型电话
username string 取货人名称
remark string 备注
created_at string 下单时间
paid_at string 支付时间
expire_at string 过期时间
close_at string 关闭时间
shipping_fee string 运费
packaging_fee string 打包费
total_amount string 总价格
status string 状态
status_msg string 状态信息
goods_num string 商品数量
desk_name string 桌号名称
is_need_tableware string 是否需要餐具【1=需要,2=不需要】
pay_method string 支付方式 ‘Cash’=现金, ‘LinePay’=LinePay, ‘Credit’=信用卡,
pay_method_msg string 支付方式信息
pay_type string 请求类型 app=APP端,public=公众号,small=小程序, pc=电脑端 h5=h5
refund_status string 退款状态
refund_order_num string 退款订单号
good_info string 商品信息
store_name string 门店名称
store_logo string 门店logo
store_start_time string 门店营业时间
store_mobile string 门店电话
store_address string 门店地址
user_avatar string 用户头像

good_info返回参数说明:

参数名 类型 说明
good_all_price string 所有商品总价格
list.cart_id string 购物车ID
list.user_id string 用户uid
list.request_good_content_id string 请求商品凭证
list.option_ids string 选项ID
list.number string 数量
list.good_info string 商品信息
list.all_price string 单个商品总价格
#### 备注:
作者:admin  创建时间:2026-01-27 20:32
最后编辑:admin  更新时间:2026-02-05 21:16