合并分支 'lyh-server' 到 'master'
Lyh server 查看合并请求 !2499
正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -36,9 +36,9 @@ class AiVideoController extends BaseController | @@ -36,9 +36,9 @@ class AiVideoController extends BaseController | ||
| 36 | $aiVideoAutoLogModel->edit(['status'=>9,'result'=>json_encode($this->param,true)],['trigger_id'=>$this->param['id']]); | 36 | $aiVideoAutoLogModel->edit(['status'=>9,'result'=>json_encode($this->param,true)],['trigger_id'=>$this->param['id']]); |
| 37 | } | 37 | } |
| 38 | //获取当前数据详情 | 38 | //获取当前数据详情 |
| 39 | - $info = $aiVideoAutoLogModel->read(['trigger_id'=>$this->param['id']]); | 39 | + $info = $aiVideoAutoLogModel->read(['trigger_id'=>$this->param['trigger_id']]); |
| 40 | if($info === false){ | 40 | if($info === false){ |
| 41 | - $this->saveLog('未获取到当前数据详情。'.$info); | 41 | + $this->saveLog('未获取到当前数据详情。'.json_encode($info,true)); |
| 42 | $this->response('success'); | 42 | $this->response('success'); |
| 43 | } | 43 | } |
| 44 | //上传图片 返回cdn链接 | 44 | //上传图片 返回cdn链接 |
| @@ -59,7 +59,7 @@ class AiVideoController extends BaseController | @@ -59,7 +59,7 @@ class AiVideoController extends BaseController | ||
| 59 | } | 59 | } |
| 60 | } | 60 | } |
| 61 | $images = array_merge($images,$info['images']); | 61 | $images = array_merge($images,$info['images']); |
| 62 | - $this->saveLog('返回的数据详情。'.$images); | 62 | + $this->saveLog('success->ok'); |
| 63 | $aiVideoAutoLogModel->edit(['images'=>$images,'result'=>json_encode($this->param,true),'status'=>1],['id'=>$info['id']]); | 63 | $aiVideoAutoLogModel->edit(['images'=>$images,'result'=>json_encode($this->param,true),'status'=>1],['id'=>$info['id']]); |
| 64 | } | 64 | } |
| 65 | }catch (\Exception $e){ | 65 | }catch (\Exception $e){ |
-
请 注册 或 登录 后发表评论