修复极验的问题
This commit is contained in:
1 parent
7989c17cde
commit
7f57a4e816
9 files changed
+448
-103
No files matched your search
@@ -33,7 +33,7 @@ class GeetestLib
|
||||
'json_format' => self::JSON_FORMAT
|
||||
];
|
||||
$params = array_merge($params, $public_params);
|
||||
$url = 'http://api.geetest.com/register.php?' . http_build_query($params);
|
||||
$url = 'https://api.geevisit.com/register.php?' . http_build_query($params);
|
||||
$res = get_curl($url);
|
||||
$arr = json_decode($res, true);
|
||||
if($arr && isset($arr['challenge'])){
|
||||
@@ -98,7 +98,7 @@ class GeetestLib
|
||||
'json_format' => self::JSON_FORMAT
|
||||
];
|
||||
$params = array_merge($params, $public_params);
|
||||
$url = 'http://api.geetest.com/validate.php';
|
||||
$url = 'https://api.geevisit.com/validate.php';
|
||||
$res = get_curl($url, http_build_query($params));
|
||||
$arr = json_decode($res, true);
|
||||
if($arr && isset($arr['seccode'])){
|
||||
|
||||
Reference in new issue
Block a user