From 9bf35e15d7d3505b13ca8b8dd33abc14b4331d44 Mon Sep 17 00:00:00 2001 From: tianyu Date: Wed, 27 Mar 2019 13:59:31 +0800 Subject: [PATCH] Update class.geetestlib.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 宕机模式获取验证结果获取修改 --- lib/class.geetestlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/class.geetestlib.php b/lib/class.geetestlib.php index 6ffd18d..6a7954b 100755 --- a/lib/class.geetestlib.php +++ b/lib/class.geetestlib.php @@ -131,7 +131,7 @@ public function success_validate($challenge, $validate, $seccode,$param, $json_f * @return int */ public function fail_validate($challenge, $validate, $seccode) { - if(md5($challenge) == $validate){ + if($this->check_validate($challenge, $validate)){ return 1; }else{ return 0;