feat(活动): 我的贡献新增性别账号和排名

This commit is contained in:
tianfeng 2025-09-11 16:50:11 +08:00
parent 66dcacb50e
commit c9fc842603
2 changed files with 12 additions and 0 deletions

View File

@ -34,6 +34,8 @@ public class WeekKingQueenUserContributeQueryExe {
UserProfile baseInfo = userProfileGateway.getByUserId(cmd.getReqUserId()); UserProfile baseInfo = userProfileGateway.getByUserId(cmd.getReqUserId());
return new UserCharmWealthContributeCO() return new UserCharmWealthContributeCO()
.setUserId(baseInfo.getId()) .setUserId(baseInfo.getId())
.setUserSex(baseInfo.getUserSex())
.setAccount(baseInfo.getAccount())
.setUserAvatar(baseInfo.getUserAvatar()) .setUserAvatar(baseInfo.getUserAvatar())
.setUserNickname(baseInfo.getUserNickname()) .setUserNickname(baseInfo.getUserNickname())
.setCharmQuantity(getContribute(cmd, KingQueenType.CHARM)) .setCharmQuantity(getContribute(cmd, KingQueenType.CHARM))

View File

@ -23,6 +23,16 @@ public class UserCharmWealthContributeCO extends ClientObject {
@JsonSerialize(using = ToStringSerializer.class) @JsonSerialize(using = ToStringSerializer.class)
private Long userId; private Long userId;
/**
* 用户性别:0 1 .
*/
private Integer userSex;
/**
* 账号.
*/
private String account;
/** /**
* 用户头像. * 用户头像.
*/ */