|
|
@@ -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]));
|
|
|
}
|