1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-22 19:44:02 +08:00

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

This commit is contained in:
xiaochong0302 2020-12-05 21:00:05 +08:00
parent b0d467c619
commit 3d115e78e7

View File

@ -56,6 +56,13 @@ abstract class OAuth
public function checkState($state)
{
/**
* 注意事项:
* callback中的state参数并未做encode处理参数中含有"+"
* 获取参数的时候却自动做了decode处理"+"变成了空格
*/
$state = str_replace(' ', '+', $state);
/**
* @var $crypt Crypt
*/