营业数据更新推送

ws://192.168.2.12:1235/websocket

响应参数

参数名
类型
描述
必填
ssh
string
商户编号
必填
branchId
string
门店编号
必填
macType
string
推送连接类型 PC/AZ
可选
machNo
string
空值无需处理
可选
msgType
string
消息类型:1
必填
msg
string
空值无需处理
可选

推送示例

```json { "ssh": "113213213213213213", "branchId": "13132132132132131", "macType": "", "machNo": "", "msgType": "2", "orderId":"订单id",//可以用订单id加one接口获取到订单所有详情。 "orderState":"订单状态", "orderType":"订单类型",//1pc收银2安卓收银3饿了么4美团外卖5奇迈 "orderOutId":"外部订单Id", "msg":"" } ```

说明 / 示例

接收到改类型推送消息,前端在商品选择页面头部弹出需要更新的提示,**点击提示部分需要重新调取【初始化门店信息接口】**