门店触发外卖/小程序订单状态变更

ws://192.168.2.12:1235/websocket

响应参数

参数名
类型
描述
必填
ssh
string
商户编号
必填
branchId
string
门店编号
必填
macType
string
推送连接类型 PC/AZ/PX/QC
可选
machNo
string
空值无需处理
可选
msgType
string
消息类型:3
必填
msg
string
必填
djd
string
待接单量(等同于外卖提示单量)
必填
dzz
string
预约待制作
必填
psz
string
配送中量
必填
sqtk
string
申请退款量
必填

推送示例

```json { "ssh": "113213213213213213", "branchId": "13132132132132131", "macType": "", "machNo": "", "msgType": "2", "orderId":"订单id",//可以用订单id加one接口获取到订单所有详情。 "orderState":"订单状态", "orderType":"订单类型", "orderOutId":"外部订单Id", "msg": "{"billId":"1231231231231","todo":"asdasdasdads"}" } ```