新增个签和hobby
This commit is contained in:
parent
14c9bd29f6
commit
2bbf29ad0a
@ -99,6 +99,17 @@ public class UserProfileDTO implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private String countryCode;
|
private String countryCode;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 个性签名.
|
||||||
|
*/
|
||||||
|
private String autograph;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 爱好
|
||||||
|
*/
|
||||||
|
private String hobby;
|
||||||
|
|
||||||
private String inRoomId;
|
private String inRoomId;
|
||||||
private String roomIcon;
|
private String roomIcon;
|
||||||
|
|
||||||
|
|||||||
@ -34,6 +34,17 @@ public class UserProfileModifyCmd extends AppExtCommand {
|
|||||||
*/
|
*/
|
||||||
private Integer bornMonth;
|
private Integer bornMonth;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 个性签名.
|
||||||
|
*/
|
||||||
|
private String autograph;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 爱好
|
||||||
|
*/
|
||||||
|
private String hobby;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 出身日.
|
* 出身日.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -135,6 +135,11 @@ public class UserProfile implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private String autograph;
|
private String autograph;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 爱好
|
||||||
|
*/
|
||||||
|
private String hobby;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 拥有的靓号.
|
* 拥有的靓号.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -139,6 +139,11 @@ public class UserRunProfile implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private String autograph;
|
private String autograph;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 爱好
|
||||||
|
*/
|
||||||
|
private String hobby;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 拥有的靓号.
|
* 拥有的靓号.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -222,6 +222,10 @@ public class UserRunProfileServiceImpl implements UserRunProfileService {
|
|||||||
update.set("autograph", userRunProfile.getAutograph());
|
update.set("autograph", userRunProfile.getAutograph());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (StringUtils.isNotBlank(userRunProfile.getHobby())) {
|
||||||
|
update.set("hobby", userRunProfile.getHobby());
|
||||||
|
}
|
||||||
|
|
||||||
if (Objects.nonNull(userRunProfile.getOwnSpecialId())) {
|
if (Objects.nonNull(userRunProfile.getOwnSpecialId())) {
|
||||||
update.set("ownSpecialId", userRunProfile.getOwnSpecialId());
|
update.set("ownSpecialId", userRunProfile.getOwnSpecialId());
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user