修复极验的问题

This commit is contained in:
2025-11-28 10:59:58 +08:00
parent 7989c17cde
commit 7f57a4e816
9 changed files with 448 additions and 103 deletions
-2
View File
@@ -150,8 +150,6 @@ case 'sendcode':
exit('{"code":-1,"msg":"请勿频繁发送验证码"}');
}
if(!isset($_SESSION['gtserver']))exit('{"code":-1,"msg":"验证加载失败"}');
if(!verify_captcha())exit('{"code":-1,"msg":"验证失败,请重新验证"}');
if($conf['verifytype']==1){
$row=$DB->getRow("select * from pre_user where phone=:phone limit 1", [':phone'=>$sendto]);