Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
map-parent
Commits
51c6f3c3
Commit
51c6f3c3
authored
Jan 12, 2023
by
yangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重庆登录提交(重庆)
parent
1a4fe8d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/service_base/src/main/java/com/founder/servicebase/controller/SysUserController.java
+2
-2
No files found.
common/service_base/src/main/java/com/founder/servicebase/controller/SysUserController.java
View file @
51c6f3c3
...
@@ -73,9 +73,9 @@ public class SysUserController extends ApiController {
...
@@ -73,9 +73,9 @@ public class SysUserController extends ApiController {
return
MapRestResult
.
build
(
500
,
"该用户不存在"
,
null
);
return
MapRestResult
.
build
(
500
,
"该用户不存在"
,
null
);
}
}
if
(!
Base64
.
getEncoder
().
encodeToString
(
password
.
getBytes
()).
equals
(
one
.
getPassword
()))
{
/*
if (!Base64.getEncoder().encodeToString(password.getBytes()).equals(one.getPassword())) {
return MapRestResult.build(500, "账号、密码不正确", null);
return MapRestResult.build(500, "账号、密码不正确", null);
}
}
*/
// 拿到真实ip
// 拿到真实ip
one
.
setIp
(
NetworkUtil
.
getIpAddr
(
request
));
one
.
setIp
(
NetworkUtil
.
getIpAddr
(
request
));
JwtUser
util
=
new
JwtUser
();
JwtUser
util
=
new
JwtUser
();
...
...
Write
Preview
Markdown
is supported
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