1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-24 20:06:09 +08:00

初步完成开放登录,待线上测试5

This commit is contained in:
xiaochong0302 2020-12-05 21:34:56 +08:00
parent 5cf4bdfff0
commit e232160d22

View File

@ -18,7 +18,7 @@ class WeiXin extends OAuth
'redirect_uri' => $this->redirectUri,
'state' => $this->getState(),
'response_type' => 'code',
'scope' => 'snsapi_userinfo',
'scope' => 'snsapi_login',
];
return self::AUTHORIZE_URL . '?' . http_build_query($params);