mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2025-01-04 01:52:21 +08:00
fix:认证中心未break错误修复
This commit is contained in:
parent
f088f72561
commit
572db8f434
@ -75,8 +75,10 @@ public class AuthController {
|
|||||||
switch (clientId) {
|
switch (clientId) {
|
||||||
case AuthConstants.WEAPP_CLIENT_ID: // 微信认证
|
case AuthConstants.WEAPP_CLIENT_ID: // 微信认证
|
||||||
oAuth2AccessToken = this.handleForWxAuth(principal, parameters);
|
oAuth2AccessToken = this.handleForWxAuth(principal, parameters);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
oAuth2AccessToken = tokenEndpoint.postAccessToken(principal, parameters).getBody();
|
oAuth2AccessToken = tokenEndpoint.postAccessToken(principal, parameters).getBody();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return oAuth2AccessToken;
|
return oAuth2AccessToken;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user