lvhao il y a 1 jour
Parent
commit
fe5925a422
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      core/CoreApp/controllers/Whlabelfz1.php

+ 1 - 1
core/CoreApp/controllers/Whlabelfz1.php

@@ -167,7 +167,7 @@ class Whlabelfz1 extends Start_Controller
 			$res = $this->_bbscan($orderinfo,$label);
 		}elseif($type == 2){
 		    $start_time = strtotime(date("Y-m-d"),time());
-		    $info = $this->whlabel_bh_scan->find("label ='".$label."' and scantime >= ");
+		    $info = $this->whlabel_bh_scan->find("label ='".$label."' and scantime >= ".$start_time);
     		if(!empty($info)){
     			exit(json_encode(['code'=>-1,'msg'=>'该标签已被扫描','data'=>[],JSON_UNESCAPED_UNICODE]));
     		}