一对一聊天重构,期待群聊开发

This commit is contained in:
2024-11-21 17:31:08 +08:00
parent 446b669c75
commit d6b81d4559
185 changed files with 5034 additions and 88 deletions

View File

@@ -73,7 +73,6 @@ public class WebSocketServer {
String userId = jsonObject.getString("userId");
String type = jsonObject.getString("type");
if (type.equals(MessageType.CHAT.getType())) {
log.debug("聊天消息推送");
sendToUser(userId, JSONObject.toJSONString(jsonObject));
}
}