Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
H
hzsomms
Project
Project
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
ZTGK
hzsomms
Commits
4c309cd1
Commit
4c309cd1
authored
Jun 22, 2024
by
hkl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:1.统一身份认证改造
parent
0c90ca6d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
IamServiceImpl.java
...va/org/jeecg/modules/iam/service/impl/IamServiceImpl.java
+2
-1
No files found.
jeecg-module-system/src/main/java/org/jeecg/modules/iam/service/impl/IamServiceImpl.java
View file @
4c309cd1
...
@@ -77,6 +77,7 @@ public class IamServiceImpl implements IamService {
...
@@ -77,6 +77,7 @@ public class IamServiceImpl implements IamService {
currentUser
.
setUsername
(
loginInfo
.
getUserCode
());
currentUser
.
setUsername
(
loginInfo
.
getUserCode
());
currentUser
.
setRealname
(
loginInfo
.
getUserName
());
currentUser
.
setRealname
(
loginInfo
.
getUserName
());
currentUser
.
setPassword
(
"123456"
);
currentUser
.
setPassword
(
"123456"
);
currentUser
.
setWorkNo
(
loginInfo
.
getUserCode
());
currentUser
.
setDelFlag
(
0
);
currentUser
.
setDelFlag
(
0
);
currentUser
.
setLoginTenantId
(
0
);
currentUser
.
setLoginTenantId
(
0
);
currentUser
.
setStatus
(
CommonConstant
.
USER_UNFREEZE
);
currentUser
.
setStatus
(
CommonConstant
.
USER_UNFREEZE
);
...
@@ -104,7 +105,7 @@ public class IamServiceImpl implements IamService {
...
@@ -104,7 +105,7 @@ public class IamServiceImpl implements IamService {
// 记录登录日志
// 记录登录日志
LoginUser
loginUser
=
new
LoginUser
();
LoginUser
loginUser
=
new
LoginUser
();
BeanUtils
.
copyProperties
(
currentUser
,
loginUser
);
BeanUtils
.
copyProperties
(
currentUser
,
loginUser
);
baseCommonService
.
addLog
(
"用户名: "
+
currentUser
.
get
User
name
()
+
",登录成功!"
,
CommonConstant
.
LOG_TYPE_1
,
null
,
loginUser
);
baseCommonService
.
addLog
(
"用户名: "
+
currentUser
.
get
Real
name
()
+
",登录成功!"
,
CommonConstant
.
LOG_TYPE_1
,
null
,
loginUser
);
result
.
setToken
(
token
);
result
.
setToken
(
token
);
...
...
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