Helius
2021-06-01 25aec7899b8ab3d483bbfd6d7580c6966318ee7f
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中保存用户未在线时,给该用户发送的消息条数