diff --git a/sql/231110CYL.sql b/sql/231110CYL.sql new file mode 100644 index 00000000..8e303770 --- /dev/null +++ b/sql/231110CYL.sql @@ -0,0 +1 @@ +ALTER TABLE system_users ADD COLUMN `white_list` tinyint(10) NOT NULL COMMENT '白名单'; diff --git a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/oauth2/OAuth2TokenServiceImpl.java b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/oauth2/OAuth2TokenServiceImpl.java index c95d471f..35720f97 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/oauth2/OAuth2TokenServiceImpl.java +++ b/yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/service/oauth2/OAuth2TokenServiceImpl.java @@ -151,7 +151,6 @@ public class OAuth2TokenServiceImpl implements OAuth2TokenService { Long userId = accessTokenDO.getUserId(); AdminUserDO user = adminUserService.getUser(userId); - System.out.println(user); Integer whiteList = user.getWhiteList(); if (whiteList == 0){ accessTokenDO.setExpiresTime(LocalDateTime.now().plus(1, ChronoUnit.YEARS));