wesmiler 2 лет назад
Родитель
Сommit
abdb0a03d3
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app/Services/LiveService.php

+ 2 - 2
app/Services/LiveService.php

@@ -209,10 +209,10 @@ class LiveService extends BaseService
             }
 
             // 结束直播
-            if($info['create_time'] <= time() - 30 * 60 && $info['status'] == 1){
+            /*if($info['create_time'] <= time() - 2 * 86400 && $info['status'] == 1){
                 $this->model->where(['id'=> $id])->update(['status'=>2,'update_time'=>time()]);
                 $info['status'] = 2;
-            }
+            }*/
         }
 
         return $info;