Helius
2021-05-27 670e653f8d474d8a797b90fb1f3654dac90745e9
modify
1 files modified
1 ■■■■ changed files
src/main/java/com/xcong/excoin/netty/logic/WebSocketLogic.java 1 ●●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/netty/logic/WebSocketLogic.java
@@ -80,6 +80,7 @@
        Channel channel = ChannelManager.findWebSocketChannel(requestBean.getChannelId());
        ResponseBean res = ResponseBean.ok(chat);
        chat.setTimestamp(System.currentTimeMillis());
        res.setType(2);
        channel.writeAndFlush(NettyTools.webSocketJson(res));