作者 lyh

gx

@@ -119,7 +119,7 @@ class VideoTask extends Command @@ -119,7 +119,7 @@ class VideoTask extends Command
119 */ 119 */
120 public function sendSubTask() 120 public function sendSubTask()
121 { 121 {
122 - $subTask = KeywordVideoTaskLog::where(['status' => TaskSub::STATUS_INIT])->orderBy('id', 'asc')->limit($this->max_sub_task)->get(); 122 + $subTask = KeywordVideoTaskLog::where(['status' => KeywordVideoTaskLog::STATUS_INIT])->orderBy('id', 'asc')->limit($this->max_sub_task)->get();
123 if ($subTask->isEmpty()) 123 if ($subTask->isEmpty())
124 return true; 124 return true;
125 foreach ($subTask as $val) { 125 foreach ($subTask as $val) {