消息推送连接关闭时避免报错
This commit is contained in:
@@ -196,7 +196,7 @@ public class MessageCenterServiceImpl extends ServiceImpl<NotificationMapper, No
|
||||
data.put(type, count);
|
||||
resp.add(data);
|
||||
String jsonString = JSON.toJSONString(resp);
|
||||
log.info("消息推送 : {}", jsonString);
|
||||
// log.info("消息推送 : {}", jsonString);
|
||||
|
||||
try {
|
||||
notificationConnection.sendMsg(jsonString, receiverId);
|
||||
|
||||
Reference in New Issue
Block a user