mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-29 13:51:37 +08:00
初步完成开放登录,待线上测试6
This commit is contained in:
parent
e232160d22
commit
4fa02f34bb
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user