From c9fc84260386dc0fcd606ffec076973b90f8db92 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 11 Sep 2025 16:50:11 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B4=BB=E5=8A=A8):=20=E6=88=91=E7=9A=84?= =?UTF-8?q?=E8=B4=A1=E7=8C=AE=E6=96=B0=E5=A2=9E=E6=80=A7=E5=88=AB=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7=E5=92=8C=E6=8E=92=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../query/WeekKingQueenUserContributeQueryExe.java | 2 ++ .../activity/UserCharmWealthContributeCO.java | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/query/WeekKingQueenUserContributeQueryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/query/WeekKingQueenUserContributeQueryExe.java index beda58eb..8b8fbc31 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/query/WeekKingQueenUserContributeQueryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/activity/query/WeekKingQueenUserContributeQueryExe.java @@ -34,6 +34,8 @@ public class WeekKingQueenUserContributeQueryExe { UserProfile baseInfo = userProfileGateway.getByUserId(cmd.getReqUserId()); return new UserCharmWealthContributeCO() .setUserId(baseInfo.getId()) + .setUserSex(baseInfo.getUserSex()) + .setAccount(baseInfo.getAccount()) .setUserAvatar(baseInfo.getUserAvatar()) .setUserNickname(baseInfo.getUserNickname()) .setCharmQuantity(getContribute(cmd, KingQueenType.CHARM)) diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/activity/UserCharmWealthContributeCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/activity/UserCharmWealthContributeCO.java index 5692f20e..9ae03357 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/activity/UserCharmWealthContributeCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/activity/UserCharmWealthContributeCO.java @@ -23,6 +23,16 @@ public class UserCharmWealthContributeCO extends ClientObject { @JsonSerialize(using = ToStringSerializer.class) private Long userId; + /** + * 用户性别:0 女,1 男. + */ + private Integer userSex; + + /** + * 账号. + */ + private String account; + /** * 用户头像. */