sgj
2026-03-17 e2eb6557cef6b7848c4d77961706abb0b3896380
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.fzzy.igds.io.notify;
 
import com.fzzy.igds.constant.OrderRespEnum;
import com.fzzy.igds.websocket.WebSocketPacket;
import com.fzzy.igds.websocket.WebSocketServer;
 
public class NotifyWebParent {
 
    public void notifyWeb(String companyId, OrderRespEnum orderResp,
            String bizType, String notifyMsg) {
        // 通知前端
        WebSocketPacket packet = new WebSocketPacket();
        packet.setBizType(bizType);
        packet.setCompanyId(companyId);
        packet.setOrderResp(orderResp.getCode());
        packet.setData(notifyMsg);
        WebSocketServer.sendByPocket(packet);
    }
 
}