fix:认证中心未break错误修复

This commit is contained in:
hxrui 2021-03-01 13:49:34 +08:00
parent f088f72561
commit 572db8f434

View File

@ -75,8 +75,10 @@ public class AuthController {
switch (clientId) {
case AuthConstants.WEAPP_CLIENT_ID: // 微信认证
oAuth2AccessToken = this.handleForWxAuth(principal, parameters);
break;
default:
oAuth2AccessToken = tokenEndpoint.postAccessToken(principal, parameters).getBody();
break;
}
return oAuth2AccessToken;
}