likang il y a 2 ans
Parent
commit
09066a8465
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      catch/api/service/dispose.php

+ 4 - 4
catch/api/service/dispose.php

@@ -367,10 +367,10 @@ public function set_label_history($data){
     //保存头部
     $head_data= $this->selectHash($key,$head);
     $tail_data=$this->selectHash($key,$tail);
-    debug_log("InAndOUT","最旧信号间隔".($data["report_time"]-$tail_data[count($tail_data)-1]["report_time"]));
-    debug_log("InAndOUT","最旧信号间隔".json_encode($tail_data));
-    debug_log("InAndOUT","最旧信号间隔".json_encode(count($tail_data)-1));
-    debug_log("InAndOUT","最旧信号间隔".$data["report_time"]);
+    debug_log("InAndOUT","最旧信号间隔-".($data["report_time"]-$tail_data[count($tail_data)-1]["report_time"]));
+    debug_log("InAndOUT","最旧信号间隔--".json_encode($tail_data));
+    debug_log("InAndOUT","最旧信号间隔---".json_encode($tail_data[count($tail_data)-1]));
+    debug_log("InAndOUT","最旧信号间隔----".$data["report_time"]);
     if(!empty($tail_data)){
         if(($data["report_time"]-$tail_data[count($tail_data)-1]["report_time"])>6){
           $head_data=[];