lvhao 16 tuntia sitten
vanhempi
commit
8bd17bdcec
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 4 4
      core/CoreApp/models/Model_check.php

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

@@ -14,7 +14,7 @@ class Model_check extends Lin_Model
 		if(empty($check_name) || empty($check_address)){
 			return false;
 		}
-		$limit_time = time() - 72*60*60;
+		$limit_time = time() - 96*60*60;
 		$info =  $this->find("(status = 1)   and  (addtime >=  ".$limit_time.") and ((check_name = '".$check_name."') or (check_address like '%".$check_address."%'))","*",'addtime DESC');	
 
 		if(empty($info)){
@@ -42,7 +42,7 @@ class Model_check extends Lin_Model
 		if(empty($check_name) || empty($check_address)){
 			return false;
 		}
-		$limit_time = time() - 72*60*60;
+		$limit_time = time() - 96*60*60;
 		$info =  $this->find("(status = 1)   and  (addtime >=  ".$limit_time.") and ((check_name = '".$check_name."') or (check_address like '%".$check_address."%'))","*",'addtime DESC');	
 		if(empty($info)){
 			return true;
@@ -64,7 +64,7 @@ class Model_check extends Lin_Model
 				'msg'=>'参数传递异常'
 			];
 		}
-		$limit_time = time() - 72*60*60;
+		$limit_time = time() - 96*60*60;
 		$info =  $this->find("(status = 1)   and  (addtime >=  ".$limit_time.") and ((check_name = '".$check_name."') or (check_address like '%".$check_address."%'))","*",'addtime DESC');	
 		if(empty($info)){
 			return [
@@ -90,7 +90,7 @@ class Model_check extends Lin_Model
 		if(empty($check_name) || empty($check_address)){
 			return false;
 		}
-		$limit_time = time() - 72*60*60;
+		$limit_time = time() - 96*60*60;
 		$info =  $this->find("(status = 1)   and  (addtime >=  ".$limit_time.") and ((check_name = '".$check_name."') or (check_address like '%".$check_address."%'))","*",'addtime DESC');	
 
 		if(empty($info)){