Browse Source

掉线检测 修改为1小时

程旭源 8 months ago
parent
commit
b54c5b50ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Index.php

+ 1 - 1
application/api/controller/Index.php

@@ -79,7 +79,7 @@ class Index extends Api
     public function runrecord()
     {
         $nowtime = time();
-        $spacetime = 10 * 60;
+        $spacetime = 60 * 60;
         $returndata = '';
         $userdata = db('admin')->field("id")
             ->where(['livetime' => ['gt', $nowtime - $spacetime]])