From 4fa02f34bb9209c5a5ff6a2de611c6de410fc9c3 Mon Sep 17 00:00:00 2001 From: xiaochong0302 Date: Sat, 5 Dec 2020 21:49:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AD=A5=E5=AE=8C=E6=88=90=E5=BC=80?= =?UTF-8?q?=E6=94=BE=E7=99=BB=E5=BD=95=EF=BC=8C=E5=BE=85=E7=BA=BF=E4=B8=8A?= =?UTF-8?q?=E6=B5=8B=E8=AF=956?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Library/OAuth/QQ.php | 2 +- app/Library/OAuth/WeiXin.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Library/OAuth/QQ.php b/app/Library/OAuth/QQ.php index 59a8f10d..648a9baa 100644 --- a/app/Library/OAuth/QQ.php +++ b/app/Library/OAuth/QQ.php @@ -18,8 +18,8 @@ class QQ extends OAuth 'client_id' => $this->clientId, 'redirect_uri' => $this->redirectUri, 'state' => $this->getState(), - 'response_type' => 'code', 'scope' => 'get_user_info', + 'response_type' => 'code', ]; return self::AUTHORIZE_URL . '?' . http_build_query($params); diff --git a/app/Library/OAuth/WeiXin.php b/app/Library/OAuth/WeiXin.php index ac18aef5..278b8d10 100644 --- a/app/Library/OAuth/WeiXin.php +++ b/app/Library/OAuth/WeiXin.php @@ -17,8 +17,8 @@ class WeiXin extends OAuth 'appid' => $this->clientId, 'redirect_uri' => $this->redirectUri, 'state' => $this->getState(), - 'response_type' => 'code', 'scope' => 'snsapi_login', + 'response_type' => 'code', ]; return self::AUTHORIZE_URL . '?' . http_build_query($params);