作者 lyh

gx视频生成任务

@@ -174,7 +174,7 @@ class VideoTask extends Command @@ -174,7 +174,7 @@ class VideoTask extends Command
174 'is_ytb'=>false, 174 'is_ytb'=>false,
175 'other_language_subtitle'=>false 175 'other_language_subtitle'=>false
176 ]; 176 ];
177 - $result = Http::post('http://216.250.255.116:7866/create_task', $data); 177 + $result = Http::post('http://216.250.255.116:7866/create_task', $data);//todo::小天的接口
178 $res_json = json_decode($result,true); 178 $res_json = json_decode($result,true);
179 $val->task_id = $task_id; 179 $val->task_id = $task_id;
180 $val->status = KeywordVideoTaskLog::STATUS_ERROR; 180 $val->status = KeywordVideoTaskLog::STATUS_ERROR;
@@ -163,7 +163,6 @@ class KeywordVideoController extends BaseController @@ -163,7 +163,6 @@ class KeywordVideoController extends BaseController
163 'project_id.required' => '项目唯一标识不为空', 163 'project_id.required' => '项目唯一标识不为空',
164 ]); 164 ]);
165 $taskLogModel = new KeywordVideoTaskLog(); 165 $taskLogModel = new KeywordVideoTaskLog();
166 - $this->map['result_status'] = 200;  
167 $list = $taskLogModel->lists($this->map,$this->page,$this->row); 166 $list = $taskLogModel->lists($this->map,$this->page,$this->row);
168 $this->response('success',Code::SUCCESS,$list); 167 $this->response('success',Code::SUCCESS,$list);
169 } 168 }