瀏覽代碼

掉线检测 修改为1小时

程旭源 8 月之前
父節點
當前提交
b54c5b50ae
共有 1 個文件被更改,包括 1 次插入1 次删除
  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]])