Helius
2021-05-27 13021b4c836943fda4c8be882c4516efc72a8160
modify
1 files modified
2 ■■■ changed files
src/main/java/com/xcong/excoin/netty/logic/WebSocketLogic.java 2 ●●● patch | view | raw | blame | history
src/main/java/com/xcong/excoin/netty/logic/WebSocketLogic.java
@@ -83,7 +83,7 @@
        if (targetChannel != null) {
            chat.setIsSelf(2);
            ResponseBean toRes = ResponseBean.ok(chat);
            res.setType(2);
            toRes.setType(2);
            targetChannel.writeAndFlush(NettyTools.webSocketJson(toRes));
        } else {
            // 在redis中保存用户未在线时,给该用户发送的消息条数