用户-编辑个人信息-修改
This commit is contained in:
parent
1e0fb9883b
commit
1887802f52
@ -420,6 +420,9 @@ public class AiolUserController {
|
||||
if (profileDTO.getTitle() != null) {
|
||||
userInfo.setTitle(profileDTO.getTitle());
|
||||
}
|
||||
if (profileDTO.getTag() != null) {
|
||||
userInfo.setTag(profileDTO.getTag());
|
||||
}
|
||||
|
||||
// 设置更新信息
|
||||
userInfo.setUpdateBy(username);
|
||||
|
@ -32,6 +32,9 @@ public class EditProfileDTO {
|
||||
@Schema(description = "电话")
|
||||
private String phone;
|
||||
|
||||
@Schema(description = "介绍")
|
||||
private String tag;
|
||||
|
||||
@Schema(description = "专业")
|
||||
private String major;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user