lvhao hai 1 día
pai
achega
f69c182c7c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/CoreApp/models/Model_check.php

+ 1 - 1
core/CoreApp/models/Model_check.php

@@ -65,7 +65,7 @@ class Model_check extends Lin_Model
 			];
 			];
 		}
 		}
 		$limit_time = time() - 72*60*60;
 		$limit_time = time() - 72*60*60;
-		$info =  $this->find("(status = 1)   and  (addtime >=  ".$limit_time.") and ((check_name = '".$check_name."') or (check_address like '%".$check_address."%'))","*",'addtime DESC');	
+		$info =  $this->find("(status = 1)   and  (addtime >=  ".$limit_time.") and ((check_name = '".$check_name."') or (check_address like BINARY '%".$check_address."%'))","*",'addtime DESC');	
 		if(empty($info)){
 		if(empty($info)){
 			return [
 			return [
 				'code'=>-1,
 				'code'=>-1,