lh 3 недель назад
Родитель
Сommit
a11f5ddd0b
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      app/Console/Commands/CheckVideoGenerationTasksCommand.php

+ 1 - 2
app/Console/Commands/CheckVideoGenerationTasksCommand.php

@@ -62,7 +62,7 @@ class CheckVideoGenerationTasksCommand extends Command
      * 
      * @return void
      */
-    private function updateSegmentVideoStatus($videoGenerationService)
+    private function updateSegmentVideoStatus()
     {
         try {
             // 获取所有状态为"生成中"的分镜(兼容分镜模式和全能模式)
@@ -70,7 +70,6 @@ class CheckVideoGenerationTasksCommand extends Command
                 ->where('video_task_status', '生成中')
                 ->whereNotNull('video_task_id')
                 ->where('video_task_id', '<>', '')
-                ->where('created_at', '<', date('Y-m-d H:i:s', strtotime('-24 hours')))
                 ->select('id', 'segment_id', 'video_task_id', 'audio_duration')
                 ->get();