Commit 312c088a authored by 黎博's avatar 黎博

获取用户详细信息接口新增中文名、title、邮箱地址

parent d24f5fc5
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment