diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/data/vo/ConversationGroupSocketMessageVO.java b/src/main/java/club/joylink/rtss/simulation/cbtc/data/vo/ConversationGroupSocketMessageVO.java index 4d6d7447b..9e2691a73 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/data/vo/ConversationGroupSocketMessageVO.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/data/vo/ConversationGroupSocketMessageVO.java @@ -1,6 +1,7 @@ package club.joylink.rtss.simulation.cbtc.data.vo; import club.joylink.rtss.simulation.cbtc.conversation.ConversationGroup; +import club.joylink.rtss.simulation.cbtc.conversation.ConversationType; import club.joylink.rtss.simulation.cbtc.member.SimulationMember; import lombok.Getter; import lombok.Setter; @@ -28,6 +29,10 @@ public class ConversationGroupSocketMessageVO { */ private String creatorId; + private String imageUrl; + + private String leaderId; + /** * 成员列表 */ @@ -38,6 +43,8 @@ public class ConversationGroupSocketMessageVO { */ private ConversationGroupMessageVO message; + private ConversationType type; + /** * 消息类型 */ @@ -58,6 +65,9 @@ public class ConversationGroupSocketMessageVO { messageVO.name = group.getName(); messageVO.creatorId = group.getCreator() != null ? group.getCreator().getId() : null; messageVO.memberList = group.getMemberList().stream().map(ConversationMemberVO::new).collect(Collectors.toList()); + messageVO.imageUrl = group.getImageUrl(); + messageVO.leaderId = group.getLeader().getId(); + messageVO.type = group.getType(); messageVO.messageType = MessageType.JOIN; return messageVO; }