From fed32f20cd76b94dfe12053da6d20d8548114b4a Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Fri, 26 Dec 2025 16:14:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=B6=E6=97=8F=E6=A6=9C=E5=8D=95=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0account=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../circle/other/app/command/family/FamilyLeaderboardExe.java | 1 + .../circle/other/app/command/family/FamilyMemberTop100Exe.java | 2 ++ .../app/dto/clientobject/family/FamilyMemberRankInfoCO.java | 2 ++ .../app/dto/clientobject/family/FamilyMemberWeekRankCO.java | 2 ++ 4 files changed, 7 insertions(+) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyLeaderboardExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyLeaderboardExe.java index f36fe618..19f5e736 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyLeaderboardExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyLeaderboardExe.java @@ -105,6 +105,7 @@ public class FamilyLeaderboardExe { UserProfile profile, boolean isHost) { return new FamilyMemberWeekRankCO() .setUserId(exp.getFamilyMemberId()) + .setAccount(Objects.nonNull(profile) ? profile.getAccount() : "") .setNickname(Objects.nonNull(profile) ? profile.getUserNickname() : "") .setAvatar(Objects.nonNull(profile) ? profile.getUserAvatar() : "") .setExp(NumUtils.formatLong(exp.getExp())) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyMemberTop100Exe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyMemberTop100Exe.java index 08527d71..b813c2ce 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyMemberTop100Exe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyMemberTop100Exe.java @@ -132,6 +132,7 @@ public class FamilyMemberTop100Exe { UserProfile profile, boolean isHost) { return new FamilyMemberWeekRankCO() .setUserId(exp.getFamilyMemberId()) + .setAccount(Objects.nonNull(profile) ? profile.getAccount() : "") .setNickname(Objects.nonNull(profile) ? profile.getUserNickname() : "") .setAvatar(Objects.nonNull(profile) ? profile.getUserAvatar() : "") .setExp(NumUtils.formatLong(exp.getExp())) @@ -155,6 +156,7 @@ public class FamilyMemberTop100Exe { return new FamilyMemberRankInfoCO() .setUserId(userId) + .setAccount(Objects.nonNull(profile) ? profile.getAccount() : "") .setNickname(Objects.nonNull(profile) ? profile.getUserNickname() : "") .setAvatar(Objects.nonNull(profile) ? profile.getUserAvatar() : "") .setExp(Objects.nonNull(myExp) ? NumUtils.formatLong(myExp.getExp()) : "0") diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/family/FamilyMemberRankInfoCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/family/FamilyMemberRankInfoCO.java index 42dc1304..071aa923 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/family/FamilyMemberRankInfoCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/family/FamilyMemberRankInfoCO.java @@ -21,6 +21,8 @@ public class FamilyMemberRankInfoCO implements Serializable { @JsonSerialize(using = ToStringSerializer.class) private Long userId; + private String account; + /** * 用户昵称 */ diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/family/FamilyMemberWeekRankCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/family/FamilyMemberWeekRankCO.java index 40597d0e..5cc0157b 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/family/FamilyMemberWeekRankCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/clientobject/family/FamilyMemberWeekRankCO.java @@ -21,6 +21,8 @@ public class FamilyMemberWeekRankCO implements Serializable { @JsonSerialize(using = ToStringSerializer.class) private Long userId; + private String account; + /** * 用户昵称 */