Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 05eb6669
authored
Oct 12, 2023
by
huangjinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:用户登陆优化
1 parent
4b32a839
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
project-user/src/main/java/com/dituhui/pea/user/service/UserService.java
project-user/src/main/java/com/dituhui/pea/user/service/UserService.java
View file @
05eb666
...
@@ -101,7 +101,7 @@ public class UserService {
...
@@ -101,7 +101,7 @@ public class UserService {
UserOrgDao
userOrgDao
;
UserOrgDao
userOrgDao
;
public
Result
<
UserLoginDTO
>
userLogin
(
String
account
,
String
password
)
{
public
Result
<
UserLoginDTO
>
userLogin
(
String
account
,
String
password
)
{
UserEntity
user
=
userDao
.
findByLoginnameAndPass
(
account
,
password
);
UserEntity
user
=
userDao
.
findByLoginnameAndPass
(
account
,
SecureUtil
.
md5
(
password
)
);
log
.
info
(
"{}/{} login"
,
account
,
password
);
log
.
info
(
"{}/{} login"
,
account
,
password
);
if
(
null
==
user
)
{
if
(
null
==
user
)
{
return
Result
.
failure
(
"鉴权失败"
);
return
Result
.
failure
(
"鉴权失败"
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment