瀏覽代碼

更新

tags/v2.5.2^2
xiaoying 1 年之前
父節點
當前提交
7be7c2194f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      tuoheng_oidc_server/src/main/java/com/tuoheng/service/impl/ThirdServiceImpl.java

+ 1
- 1
tuoheng_oidc_server/src/main/java/com/tuoheng/service/impl/ThirdServiceImpl.java 查看文件

@@ -127,7 +127,7 @@ public class ThirdServiceImpl implements ThirdService {
tokenResult.setSub(result.getUserName());
tokenResult.setUserId(result.getUserId());
tokenResult.setUserName(result.getUserName());
ProfileResult profile = tokenResult.getProfile();
ProfileResult profile = new ProfileResult();
BeanUtils.copyProperties(tokenResult,profile);
profile.setAuthority(authorityList);
profile.setClientRoleList(clientRoleDtoList);

Loading…
取消
儲存