1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-25 20:17:23 +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, '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);