tongshanglei 2 年之前
父節點
當前提交
35f1a96b07
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      catch/device/model/get/StationGet.php

+ 1 - 1
catch/device/model/get/StationGet.php

@@ -23,7 +23,7 @@ trait StationGet
     public function getIsOnlineAttr($value){
         $value = strtotime($this->online_time);
         $int=time()-$value;
-        if($int>120){
+        if($int>180){
             return '0';
         }else{
             return '1';