ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 堂食新订单推送 消息类型:type=2 推送参数: | 参数 | 名称 | | --- | --- | | shop_id | 微播餐饮门店id | | message | 订单信息 | | type | 推送类型 1=新订单 2=堂食新订单 3=堂食加菜 4=订单完成 5=取消订单 6=堂食退菜 7=堂食取消订单 16=订单退款 24=已接单 25=订单配送中 26=订单已送达 27=配送异常 29=顾客直接买单 30=待自提 | | sign | 数据签名 | message字段说明: | 参数 | 名称 | | --- | --- | | number | 订单号 | | type | 订单类型 2=外卖 3=自提 1=堂食(店内用餐) 4=堂食(打包) | | order_type | 订单状态 1=新订单 2=已接单 3=配送中 4=已完成 5=订单取消 | | status | 订单支付状态 1=未付款 2=已付款 3=用户申请退款 4=已完成 7=支付超时 8=商家已退款 | | price | 订单金额 | | real_price | 订单实付金额 | | box_price | 餐盒费 | | user_note | 用户备注 | | record_number | 门店当天的订单流水号(每天流水号从1开始) | | created_at | 下单时间 | | detail | 订单商品详情 | | is_invoice | 是否需要发票 1=是 0=否 | | invoice_desc | 发票抬头 | | tax_no | 发票税号 | | xklj_discount | 新客立减活动金额 | | food_discount | 折扣商品减免总金额 | | discount_price | 订单折扣金额 | | coupon_price | 优惠券金额 | | less_price | 满减活动金额 | | table_number | 桌名 | | reduction_price | 减免金额 | | free_reason | 减免原因 | detail字段说明: | 参数 | 名称 | | --- | --- | | food_id | 商品id | | name | 商品名称 | | img | 商品图片 | | specification | 商品规格 | | attribute | 商品属性 | | price | 商品单价 | | count | 商品数量 | | category_id | 分类id | | category_name | 分类名称 | 推送示例: ~~~ { "shop_id":"7689", "message":{ "mp_id":"gh_5a8ba9cfafe3", "number":"2018051415581300000000170786", "type":"1", "order_type":"1", "status":"1", "price":"46000", "real_price":"46000", "box_price":"0", "user_note":"", "record_number":"1", "is_invoice":"0", "invoice_desc":"", "tax_no":"", "created_at":"2018-05-14 15:58:13", "xklj_discount":"0", "food_discount":"0", "discount_price":"0", "coupon_price":"0", "less_price":"0", "table_number":"001", "reduction_price":null, "free_reason":null, "detail":[ { "food_id":"85195", "name":"1-5人私人影院中包厢", "img":null, "specification":"", "attribute":"", "price":"8800", "count":"1", "category_id":"8924", "sku_id":"27605246", "category_name":"休闲娱乐/KTV" }, { "food_id":"85200", "name":"8人火锅自助午晚餐", "img":null, "specification":"", "attribute":"", "price":"37200", "count":"1", "category_id":"8926", "sku_id":"27605242", "category_name":"自助餐" } ] }, "type":2, "sign":"BA5C240776A8C20514686F3A360F32ED" } ~~~