田源
2023-08-30 0178d9e48a87629f8b5f5f5075409d9ab6d29d87
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状态设置