用户-编辑个人信息-修改

This commit is contained in:
Lqc 2025-10-14 00:28:26 +08:00
parent 1e0fb9883b
commit 1887802f52
2 changed files with 6 additions and 0 deletions

View File

@ -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);

View File

@ -32,6 +32,9 @@ public class EditProfileDTO {
@Schema(description = "电话")
private String phone;
@Schema(description = "介绍")
private String tag;
@Schema(description = "专业")
private String major;