src/main/java/org/springblade/modules/auth/utils/TokenUtil.java
@@ -96,6 +96,7 @@ param.put(TokenConstant.DETAIL, userInfo.getDetail()); param.put("jurisdiction", user.getJurisdiction()); param.put("cardid", user.getCardid()); param.put("Id", user.getId()); //拼装accessToken try { @@ -108,6 +109,7 @@ .set(TokenConstant.ROLE_ID, user.getRoleId()) .set("jurisdiction", user.getJurisdiction()) .set("cardid", user.getCardid()) .set("Id", user.getId()) .set(TokenConstant.OAUTH_ID, userInfo.getOauthId()) .set(TokenConstant.ACCOUNT, user.getAccount()) .set(TokenConstant.USER_NAME, user.getAccount())