新增个签和hobby

This commit is contained in:
tianfeng 2025-11-05 10:26:24 +08:00
parent 14c9bd29f6
commit 2bbf29ad0a
5 changed files with 36 additions and 0 deletions

View File

@ -99,6 +99,17 @@ public class UserProfileDTO implements Serializable {
*/
private String countryCode;
/**
* 个性签名.
*/
private String autograph;
/**
* 爱好
*/
private String hobby;
private String inRoomId;
private String roomIcon;

View File

@ -34,6 +34,17 @@ public class UserProfileModifyCmd extends AppExtCommand {
*/
private Integer bornMonth;
/**
* 个性签名.
*/
private String autograph;
/**
* 爱好
*/
private String hobby;
/**
* 出身日.
*/

View File

@ -135,6 +135,11 @@ public class UserProfile implements Serializable {
*/
private String autograph;
/**
* 爱好
*/
private String hobby;
/**
* 拥有的靓号.
*/

View File

@ -139,6 +139,11 @@ public class UserRunProfile implements Serializable {
*/
private String autograph;
/**
* 爱好
*/
private String hobby;
/**
* 拥有的靓号.
*/

View File

@ -222,6 +222,10 @@ public class UserRunProfileServiceImpl implements UserRunProfileService {
update.set("autograph", userRunProfile.getAutograph());
}
if (StringUtils.isNotBlank(userRunProfile.getHobby())) {
update.set("hobby", userRunProfile.getHobby());
}
if (Objects.nonNull(userRunProfile.getOwnSpecialId())) {
update.set("ownSpecialId", userRunProfile.getOwnSpecialId());
}