From 8b253be9513393248dfddabdbec1b144f896c7f5 Mon Sep 17 00:00:00 2001 From: PQZ Date: Fri, 20 Sep 2024 01:26:54 +0800 Subject: [PATCH] 1 --- .../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 d2cfa713..3853347c 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 @@ -62,7 +62,7 @@ public class OAuth2TokenServiceImpl implements OAuth2TokenService { // 创建刷新令牌 OAuth2RefreshTokenDO refreshTokenDO = createOAuth2RefreshToken(userId, userType, clientDO, scopes); // 创建访问令牌 - return createOAuth2AccessToken(refreshTokenDO, clientDO); + return createOAuth2AccessToken(refreshTokenDO, clientDO); } @Override