wangting
2023-08-03 0525d2e57e97b7466a1b4227fd3d06d4685263d4
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状态设置