From e232160d22bf98398776b762a12d2ad64b596f87 Mon Sep 17 00:00:00 2001 From: xiaochong0302 Date: Sat, 5 Dec 2020 21:34:56 +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=955?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Library/OAuth/WeiXin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Library/OAuth/WeiXin.php b/app/Library/OAuth/WeiXin.php index 41cf3f63..ac18aef5 100644 --- a/app/Library/OAuth/WeiXin.php +++ b/app/Library/OAuth/WeiXin.php @@ -18,7 +18,7 @@ class WeiXin extends OAuth 'redirect_uri' => $this->redirectUri, 'state' => $this->getState(), 'response_type' => 'code', - 'scope' => 'snsapi_userinfo', + 'scope' => 'snsapi_login', ]; return self::AUTHORIZE_URL . '?' . http_build_query($params);