From 7b2c9ff4d353c7cbfcd9a54bc56ec2b68c8c4912 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 01 八月 2023 17:21:04 +0800 Subject: [PATCH] 主题库分类树点击空白区域取消选择状态以及属性分组更改 --- Source/UBCS/ubcs-auth/src/main/java/com/vci/ubcs/auth/support/BladeJwtTokenEnhancer.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Source/UBCS/ubcs-auth/src/main/java/com/vci/ubcs/auth/support/BladeJwtTokenEnhancer.java b/Source/UBCS/ubcs-auth/src/main/java/com/vci/ubcs/auth/support/BladeJwtTokenEnhancer.java index 9d625aa..4bf7020 100644 --- a/Source/UBCS/ubcs-auth/src/main/java/com/vci/ubcs/auth/support/BladeJwtTokenEnhancer.java +++ b/Source/UBCS/ubcs-auth/src/main/java/com/vci/ubcs/auth/support/BladeJwtTokenEnhancer.java @@ -65,6 +65,10 @@ info.put(TokenUtil.DETAIL, principal.getDetail()); info.put(TokenUtil.LICENSE, TokenUtil.LICENSE_NAME); info.put(TokenUtil.STRATEGYUPDATESTATUS, principal.getStrategyUpdateStatus()); + info.put(TokenUtil.TENANTNAME, principal.getTenantName()); + info.put(TokenUtil.DEPTNAME, principal.getDeptName()); + info.put(TokenUtil.EMAIL, principal.getEmail()); + info.put(TokenUtil.SECRETGRADE, principal.getSecretGrade()); ((DefaultOAuth2AccessToken) accessToken).setAdditionalInformation(info); //token鐘舵�佽缃� -- Gitblit v1.9.3