田源
2023-10-17 8b65200711dffed1a41aaba61bf95d255f711549
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状态设置