Explorar el Código

Merge branch 'master' of http://gogs.renlianiot.com:4000/zmcoding/station-test-api

likang hace 1 año
padre
commit
eac23868bf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      catch/api/controller/Api.php

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

@@ -802,7 +802,7 @@ class Api extends CatchController
         // $url="http://61.175.203.188:10001/api/accessClassReport";
         // if($flagIn && $status == 2){
         if($flagIn){
-            if ($info["pushTime"] &&  (time()-$info['pushTime']) < 3 ) { 
+            if ($info["pushTime"] &&  (time()-$info['pushTime']) < 120 ) { 
                 # code...
                 return $info;
             }