likang vor 1 Jahr
Ursprung
Commit
cc250752a7
2 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  1. 1 1
      catch/api/controller/Api.php
  2. 2 0
      catch/api/service/dispose.php

+ 1 - 1
catch/api/controller/Api.php

@@ -221,7 +221,7 @@ class Api extends CatchController
                        
                         //总数
                         $count= count($a);
-                        if((time()-$json_data["time"])<8){
+                        if((time()-$json_data["time"])<6){
                             debug_log("clear_label", $item.':'. "标签上报间隔没有超过8秒进行跳过");
                             continue;
                         }

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

@@ -615,6 +615,8 @@ public function get_station_config($mac){
         $this->redis->Hdel($hashKey,$key);
     }
 
+
+
     public function temporary_label($redis,$label,$type){
 
         return;