review:【infra 基础设施】代码生成的批量操作建议

This commit is contained in:
YunaiV
2025-06-08 11:50:00 +08:00
parent d5ea976770
commit 4af6b2bfb1
3 changed files with 3 additions and 3 deletions

View File

@@ -120,6 +120,7 @@ public class OAuth2OpenController {
// 2. 根据授权模式,获取访问令牌
OAuth2AccessTokenDO accessTokenDO = switch (grantTypeEnum) {
// TODO @xingyu这里改了可能会影响 jdk8 版本哈;
case AUTHORIZATION_CODE ->
oauth2GrantService.grantAuthorizationCodeForAccessToken(client.getClientId(), code, redirectUri, state);
case PASSWORD -> oauth2GrantService.grantPassword(username, password, client.getClientId(), scopes);