123
This commit is contained in:
@@ -171,6 +171,7 @@ public class RankAppController {
|
||||
if(user.getId().equals(userId)){
|
||||
invite.setAvatar(user.getAvatar());
|
||||
invite.setNickname(user.getNickname());
|
||||
invite.setUserId(user.getId());
|
||||
}else{
|
||||
invite.setAvatar(GenderEnum.WOMEN.getDefaultAvatar());
|
||||
invite.setNickname(minNickname(user.getNickname()));
|
||||
|
||||
@@ -6,6 +6,8 @@ import lombok.Data;
|
||||
@Data
|
||||
public class RankNodeInvite {
|
||||
|
||||
@Schema(description = "用户ID,只有当前用户才有数据,其他用户因为保密问题没有")
|
||||
private Long userId;
|
||||
@Schema(description = "头像")
|
||||
private String avatar;
|
||||
@Schema(description = "昵称")
|
||||
|
||||
Reference in New Issue
Block a user