|
...
|
...
|
@@ -36,9 +36,9 @@ class AiVideoController extends BaseController |
|
|
|
$aiVideoAutoLogModel->edit(['status'=>9,'result'=>json_encode($this->param,true)],['trigger_id'=>$this->param['id']]);
|
|
|
|
}
|
|
|
|
//获取当前数据详情
|
|
|
|
$info = $aiVideoAutoLogModel->read(['trigger_id'=>$this->param['id']]);
|
|
|
|
$info = $aiVideoAutoLogModel->read(['trigger_id'=>$this->param['trigger_id']]);
|
|
|
|
if($info === false){
|
|
|
|
$this->saveLog('未获取到当前数据详情。'.$info);
|
|
|
|
$this->saveLog('未获取到当前数据详情。'.json_encode($info,true));
|
|
|
|
$this->response('success');
|
|
|
|
}
|
|
|
|
//上传图片 返回cdn链接
|
|
...
|
...
|
@@ -59,7 +59,7 @@ class AiVideoController extends BaseController |
|
|
|
}
|
|
|
|
}
|
|
|
|
$images = array_merge($images,$info['images']);
|
|
|
|
$this->saveLog('返回的数据详情。'.$images);
|
|
|
|
$this->saveLog('success->ok');
|
|
|
|
$aiVideoAutoLogModel->edit(['images'=>$images,'result'=>json_encode($this->param,true),'status'=>1],['id'=>$info['id']]);
|
|
|
|
}
|
|
|
|
}catch (\Exception $e){
|
...
|
...
|
|