From 83bfb6073bd447baa24abcd4cabeb39f5ff090aa Mon Sep 17 00:00:00 2001 From: jinbb <10940169+jinbibi@user.noreply.gitee.com> Date: Thu, 26 May 2022 02:48:18 +0000 Subject: [PATCH] =?UTF-8?q?=E7=BA=A0=E6=AD=A3=E5=88=A0=E9=99=A4=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E4=B8=B4=E7=89=8C=E6=97=B6=EF=BC=8C=E8=B0=83=E7=94=A8?= =?UTF-8?q?mapper=E9=94=99=E8=AF=AF=E3=80=82=20=E7=BA=A0=E6=AD=A3=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=88=B7=E6=96=B0=E4=B8=B4=E7=89=8C=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E8=B0=83=E7=94=A8mapper=E9=94=99=E8=AF=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/system/service/oauth2/OAuth2TokenServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 cd253b33c..d68382b75 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 @@ -76,7 +76,7 @@ public class OAuth2TokenServiceImpl implements OAuth2TokenService { // 已过期的情况下,删除刷新令牌 if (DateUtils.isExpired(refreshTokenDO.getExpiresTime())) { - oauth2AccessTokenMapper.deleteById(refreshTokenDO.getId()); + oauth2RefreshTokenMapper.deleteById(refreshTokenDO.getId()); throw exception0(GlobalErrorCodeConstants.UNAUTHORIZED.getCode(), "刷新令牌已过期"); }