mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-25 12:09:09 +08:00
初步完成开放登录,待线上测试5
This commit is contained in:
parent
5cf4bdfff0
commit
e232160d22
@ -18,7 +18,7 @@ class WeiXin extends OAuth
|
|||||||
'redirect_uri' => $this->redirectUri,
|
'redirect_uri' => $this->redirectUri,
|
||||||
'state' => $this->getState(),
|
'state' => $this->getState(),
|
||||||
'response_type' => 'code',
|
'response_type' => 'code',
|
||||||
'scope' => 'snsapi_userinfo',
|
'scope' => 'snsapi_login',
|
||||||
];
|
];
|
||||||
|
|
||||||
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