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
893ef394
Commit
893ef394
authored
Aug 12, 2022
by
RuoYi
Browse files
防止用户个人信息修改部门
parent
890ad682
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysProfileController.java
View file @
893ef394
...
...
@@ -76,6 +76,7 @@ public class SysProfileController extends BaseController
user
.
setUserId
(
sysUser
.
getUserId
());
user
.
setPassword
(
null
);
user
.
setAvatar
(
null
);
user
.
setDeptId
(
null
);
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