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
c5e4459b
Commit
c5e4459b
authored
Aug 15, 2023
by
RuoYi
Browse files
优化代码
parent
8f67bf41
Changes
1
Show whitespace changes
Inline
Side-by-side
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysProfileController.java
View file @
c5e4459b
...
...
@@ -73,7 +73,7 @@ public class SysProfileController extends BaseController
{
return
error
(
"修改用户'"
+
user
.
getUserName
()
+
"'失败,邮箱账号已存在"
);
}
if
(
userService
.
updateUserProfile
(
u
ser
)
>
0
)
if
(
userService
.
updateUserProfile
(
currentU
ser
)
>
0
)
{
// 更新缓存用户信息
tokenService
.
setLoginUser
(
loginUser
);
...
...
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