Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
890ad682
Commit
890ad682
authored
Aug 11, 2022
by
RuoYi
Browse files
优化修改资料头像被覆盖的问题(I5LK04)
parent
b9f45057
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysProfileController.java
View file @
890ad682
...
@@ -75,6 +75,7 @@ public class SysProfileController extends BaseController
...
@@ -75,6 +75,7 @@ public class SysProfileController extends BaseController
}
}
user
.
setUserId
(
sysUser
.
getUserId
());
user
.
setUserId
(
sysUser
.
getUserId
());
user
.
setPassword
(
null
);
user
.
setPassword
(
null
);
user
.
setAvatar
(
null
);
if
(
userService
.
updateUserProfile
(
user
)
>
0
)
if
(
userService
.
updateUserProfile
(
user
)
>
0
)
{
{
// 更新缓存用户信息
// 更新缓存用户信息
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment