From 572db8f434a3ef7dafc72b1afafab570277d0ba7 Mon Sep 17 00:00:00 2001 From: hxrui <1490493387@qq.com> Date: Mon, 1 Mar 2021 13:49:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=AE=A4=E8=AF=81=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=E6=9C=AAbreak=E9=94=99=E8=AF=AF=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/youlai/auth/controller/AuthController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youlai-auth/src/main/java/com/youlai/auth/controller/AuthController.java b/youlai-auth/src/main/java/com/youlai/auth/controller/AuthController.java index f7fde408e..cc9e16954 100644 --- a/youlai-auth/src/main/java/com/youlai/auth/controller/AuthController.java +++ b/youlai-auth/src/main/java/com/youlai/auth/controller/AuthController.java @@ -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; }