diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/LoveLetterQueryCmdExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/LoveLetterQueryCmdExe.java index fbab7307..f2012dd6 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/LoveLetterQueryCmdExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/user/LoveLetterQueryCmdExe.java @@ -91,6 +91,7 @@ public class LoveLetterQueryCmdExe { LoveLetterDetailCO co = cpLoveLetterConvertor.toDetailCO(letter); if (Objects.nonNull(senderProfile)) { co.setSenderNickname(senderProfile.getUserNickname()); + co.setSenderAccount(senderProfile.getAccount()); co.setSenderAvatar(senderProfile.getUserAvatar()); } diff --git a/rc-service/rc-service-other/other-domain/src/main/java/com/red/circle/other/domain/model/cp/loveletter/LoveLetterDetailCO.java b/rc-service/rc-service-other/other-domain/src/main/java/com/red/circle/other/domain/model/cp/loveletter/LoveLetterDetailCO.java index 1ae0ee4e..94eaa59b 100644 --- a/rc-service/rc-service-other/other-domain/src/main/java/com/red/circle/other/domain/model/cp/loveletter/LoveLetterDetailCO.java +++ b/rc-service/rc-service-other/other-domain/src/main/java/com/red/circle/other/domain/model/cp/loveletter/LoveLetterDetailCO.java @@ -19,6 +19,8 @@ public class LoveLetterDetailCO { @JsonSerialize(using = ToStringSerializer.class) private Long senderId; + private String senderAccount; + private String senderNickname; private String senderAvatar;