💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 外卖新订单推送 微播餐饮小程序新订单会向绑定开放平台的商户进行推送 消息类型:type=1 推送参数: | 参数 | 名称 | | --- | --- | | 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 | 订单实付金额 | | business_price | 商家实收 | | box_price | 餐盒费 | | delivery_price | 配送费 | | user_note | 用户备注 | | record_number | 门店当天的订单流水号(每天流水号从1开始) | | delivery_name | 收货人姓名 | | delivery_mobile | 收货人联系电话 | | delivery_address | 北京市东城区正义路2号 | | delivery_latitude | 配送纬度 | | delivery_longitude | 配送经度 | | created_at | 下单时间 | | detail | 订单商品详情 | | is_invoice | 是否需要发票 1=是 0=否 | | is_preordain | 是否是预订单 0=默认及时达 1=预订单 | | deliverTime | 预计送达时间 | | invoice_desc | 发票抬头 | | tax_no | 发票税号 | | dm_name | 骑手名称 | | dm_mobile | 骑手电话 | | xklj_discount | 新客立减活动金额 | | food_discount | 折扣商品减免总金额 | | discount_price | 订单折扣金额 | | coupon_price | 优惠券金额 | | less_price | 满减活动金额 | detail字段说明: | 参数 | 名称 | | --- | --- | | food_id | 商品id | | name | 商品名称 | | img | 商品图片 | | specification | 商品规格 | | attribute | 商品属性 | | price | 商品单价 | | count | 商品数量 | | category_id | 分类id | | group_name | 分组名称 | | category_name | 分类名称 | 推送示例: ~~~ { "shop_id":"78340", "message":{ "mp_id":"gh_d9b9ae73d62a", "number":"18042712000101387594340230", "type":"2", "order_type":"2", "status":"2", "price":"3", "real_price":"3", "box_price":"0", "delivery_price":"1", "user_note":"", "record_number":"1", "delivery_name":"李 (先生)", "delivery_mobile":"13422185695", "delivery_address":"广东省广州市天河区 荷光路 一楼电话", "delivery_latitude":null, "delivery_longitude":null, "is_invoice":"0", "is_preordain":"0", "invoice_desc":"", "tax_no":"", "dm_name":null, "dm_mobile":null, "created_at":"2018-04-27 12:00:01", "xklj_discount":"0", "food_discount":"0", "discount_price":"0", "coupon_price":"0", "less_price":"0", "detail":[ { "food_id":"125492", "name":"海南鸡(测试)", "img":null, "specification":"默认规格", "attribute":"", "price":"1", "count":"1", "category_id":"14113", "group_name":null, "sku_id":"27545433", "category_name":"简餐" }, { "food_id":"125493", "name":"马来鸡+饮料(测试)", "img":null, "specification":"默认规格", "attribute":"", "price":"1", "count":"1", "category_id":"14114", "group_name":null, "sku_id":"27545434", "category_name":"套餐" } ], "delivery_type":0 }, "type":1, "sign":"C4C0FB1C2362BC5FA2EA03BCF5F63FBF" } ~~~