Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
holmes
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
holmes
Commits
312c088a
Commit
312c088a
authored
Jul 05, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取用户详细信息接口新增中文名、title、邮箱地址
parent
d24f5fc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
TokenServiceImpl.java
...java/cn/qg/holmes/service/auth/impl/TokenServiceImpl.java
+3
-0
No files found.
src/main/java/cn/qg/holmes/service/auth/impl/TokenServiceImpl.java
View file @
312c088a
...
...
@@ -63,6 +63,9 @@ public class TokenServiceImpl implements TokenService {
Map
redisValue
=
(
Map
)
redisUtils
.
get
(
TOKEN_PREFIX
+
token
);
userInfoVo
.
setUserId
((
Integer
)
redisValue
.
get
(
"userId"
));
userInfoVo
.
setUsername
(
redisValue
.
get
(
"username"
).
toString
());
userInfoVo
.
setChineseName
(
redisValue
.
get
(
"chineseName"
).
toString
());
userInfoVo
.
setEmail
(
redisValue
.
get
(
"email"
).
toString
());
userInfoVo
.
setTitle
(
redisValue
.
get
(
"title"
).
toString
());
userInfoVo
.
setRoleIds
((
List
<
Integer
>)
redisValue
.
get
(
"roleIds"
));
Set
<
String
>
permissionCodeSet
=
new
HashSet
<>();
List
<
String
>
permissionCodeList
=
(
List
<
String
>)
redisValue
.
get
(
"permissionCodeList"
);
...
...
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