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
JSH ERP
Commits
6a4f3ec9
Commit
6a4f3ec9
authored
Sep 01, 2021
by
季圣华
Browse files
优化登录接口
parent
4ae28720
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/controller/UserController.java
View file @
6a4f3ec9
...
...
@@ -87,7 +87,7 @@ public class UserController {
int
userStatus
=
-
1
;
try
{
redisService
.
deleteObjectBySession
(
request
,
"userId"
);
userStatus
=
userService
.
validateUser
(
loginName
,
password
);
userStatus
=
userService
.
validateUser
(
loginName
,
Tools
.
md5Encryp
(
password
)
)
;
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
logger
.
error
(
">>>>>>>>>>>>>用户 "
+
loginName
+
" 登录 login 方法 访问服务层异常===="
,
e
);
...
...
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