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);