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