mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-29 22:01:38 +08:00
初步完成开放登录,待线上测试6
This commit is contained in:
parent
e232160d22
commit
4fa02f34bb
@ -18,8 +18,8 @@ class QQ extends OAuth
|
|||||||
'client_id' => $this->clientId,
|
'client_id' => $this->clientId,
|
||||||
'redirect_uri' => $this->redirectUri,
|
'redirect_uri' => $this->redirectUri,
|
||||||
'state' => $this->getState(),
|
'state' => $this->getState(),
|
||||||
'response_type' => 'code',
|
|
||||||
'scope' => 'get_user_info',
|
'scope' => 'get_user_info',
|
||||||
|
'response_type' => 'code',
|
||||||
];
|
];
|
||||||
|
|
||||||
return self::AUTHORIZE_URL . '?' . http_build_query($params);
|
return self::AUTHORIZE_URL . '?' . http_build_query($params);
|
||||||
|
@ -17,8 +17,8 @@ class WeiXin extends OAuth
|
|||||||
'appid' => $this->clientId,
|
'appid' => $this->clientId,
|
||||||
'redirect_uri' => $this->redirectUri,
|
'redirect_uri' => $this->redirectUri,
|
||||||
'state' => $this->getState(),
|
'state' => $this->getState(),
|
||||||
'response_type' => 'code',
|
|
||||||
'scope' => 'snsapi_login',
|
'scope' => 'snsapi_login',
|
||||||
|
'response_type' => 'code',
|
||||||
];
|
];
|
||||||
|
|
||||||
return self::AUTHORIZE_URL . '?' . http_build_query($params);
|
return self::AUTHORIZE_URL . '?' . http_build_query($params);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user