Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
huang.tao
/
jmai-platform
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
62e24947
authored
Jan 07, 2026
by
zhu.zewen
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复认证设置用户信息
parent
65adfe23
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
jmai-sys/src/main/java/com/jmai/sys/aop/AuthAspect.java
jmai-sys/src/main/java/com/jmai/sys/aop/AuthAspect.java
View file @
62e24947
...
...
@@ -156,6 +156,9 @@ public class AuthAspect extends AbstractService {
SpringContextUtils
.
set
(
USER_ID
,
userToken
.
getUserId
().
toString
());
SpringContextUtils
.
set
(
USER_NAME
,
userToken
.
getUserName
());
SpringContextUtils
.
set
(
USER_TYPE
,
userToken
.
getUserType
().
toString
());
SpringContextUtils
.
set
(
DEPT_ID
,
userToken
.
getDeptId
().
toString
());
SpringContextUtils
.
set
(
AUTH_DEPT_LIST
,
userToken
.
getAuthDeptList
());
SpringContextUtils
.
set
(
ROLE_LIST
,
userToken
.
getRoleList
());
SpringContextUtils
.
setUserToken
(
userToken
);
}
...
...
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