Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
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
yx-qc-change-flow
yanxuan-qc-change-system
Commits
024029d7
Commit
024029d7
authored
Jan 31, 2023
by
穆龙飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify:修改拦截器
parent
95fca2e5
Pipeline
#44855
failed with stages
in 2 minutes 51 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
UserInterceptor.java
...tease/mail/yanxuan/change/web/config/UserInterceptor.java
+4
-0
No files found.
yanxuan-qc-change-system-web/src/main/java/com/netease/mail/yanxuan/change/web/config/UserInterceptor.java
View file @
024029d7
...
@@ -76,7 +76,11 @@ public class UserInterceptor implements HandlerInterceptor {
...
@@ -76,7 +76,11 @@ public class UserInterceptor implements HandlerInterceptor {
log
.
info
(
"userInfo: {}"
,
JSON
.
toJSONString
(
userInfo
));
log
.
info
(
"userInfo: {}"
,
JSON
.
toJSONString
(
userInfo
));
if
(
userInfo
!=
null
)
{
if
(
userInfo
!=
null
)
{
RequestLocalBean
.
setUid
(
userInfo
.
getUsername
());
RequestLocalBean
.
setUid
(
userInfo
.
getUsername
());
if
(
userInfo
.
getProfile
()
!=
null
)
{
RequestLocalBean
.
setName
(
userInfo
.
getProfile
().
getNickName
());
RequestLocalBean
.
setName
(
userInfo
.
getProfile
().
getNickName
());
}
else
{
RequestLocalBean
.
setName
(
userInfo
.
getUsername
());
}
}
}
}
else
{
}
else
{
// 获取用户信息
// 获取用户信息
...
...
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