|
@@ -31,7 +31,7 @@ class AiVideoController extends BaseController |
|
@@ -31,7 +31,7 @@ class AiVideoController extends BaseController |
|
31
|
if ($count < 0) {
|
31
|
if ($count < 0) {
|
|
32
|
Redis::set('ai_video_image', 0);
|
32
|
Redis::set('ai_video_image', 0);
|
|
33
|
}
|
33
|
}
|
|
34
|
- $data = $this->param['attachments'] ?? [];
|
34
|
+ $data = $this->param['attachments'][0] ?? [];
|
|
35
|
$aiVideoAutoLogModel = new AiVideoAutoLog();
|
35
|
$aiVideoAutoLogModel = new AiVideoAutoLog();
|
|
36
|
if(empty($data) || empty($data['url'])){
|
36
|
if(empty($data) || empty($data['url'])){
|
|
37
|
$aiVideoAutoLogModel->edit(['status'=>9,'result'=>json_encode($this->param,true)],['trigger_id'=>$this->param['id']]);
|
37
|
$aiVideoAutoLogModel->edit(['status'=>9,'result'=>json_encode($this->param,true)],['trigger_id'=>$this->param['id']]);
|