Merge pull request #6655 from dataease/pr@dev@perf_hide_person_pwd

perf: 个人信息接口隐藏密码
This commit is contained in:
fit2cloud-chenyw 2023-11-13 14:31:08 +08:00 committed by GitHub
commit 6401518f38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,6 +182,7 @@ public class SysUserController {
@PostMapping("/personInfo")
public CurrentUserDto personInfo() {
CurrentUserDto user = AuthUtils.getUser();
user.setPassword(null);
return user;
}