likang 2 年之前
父節點
當前提交
5a84896837
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      catch/api/service/dispose.php

+ 2 - 0
catch/api/service/dispose.php

@@ -368,6 +368,8 @@ 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[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=[];