mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-29 22:01:38 +08:00
!31 开放登录线上测试6
* Merge branch 'demo' of gitee.com:koogua/course-tencent-cloud into xiao… * 初步完成开放登录,待线上测试6 * 初步完成开放登录,待线上测试5 * 初步完成开放登录,待线上测试4 * 初步完成开放登录,待线上测试3 * 初步完成开放登录,待线上测试2
This commit is contained in:
parent
7399fcbb93
commit
a4a9936054
@ -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(),
|
||||
'scope' => 'snsapi_login',
|
||||
'response_type' => 'code',
|
||||
'scope' => 'snsapi_userinfo',
|
||||
];
|
||||
|
||||
return self::AUTHORIZE_URL . '?' . http_build_query($params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user