作者 lyh

变更数据

@@ -196,7 +196,7 @@ class AiBlogLogic extends BaseLogic @@ -196,7 +196,7 @@ class AiBlogLogic extends BaseLogic
196 $aiBlogService = new AiBlogService($this->user['project_id']); 196 $aiBlogService = new AiBlogService($this->user['project_id']);
197 $result = $aiBlogService->createCustomBlog($data); 197 $result = $aiBlogService->createCustomBlog($data);
198 if($result['status'] == 200){ 198 if($result['status'] == 200){
199 - $this->model->edit(['task_id'=>$result['data']['task_id']],['id'=>$param['id']]); 199 + $this->model->edit(['task_id'=>$result['data']['task_id']],['id'=>$id]);
200 } 200 }
201 //todo::更新列表页 201 //todo::更新列表页
202 // shell_exec("php artisan save_ai_blog_list {$this->user['project_id']} > /dev/null 2>&1 &"); 202 // shell_exec("php artisan save_ai_blog_list {$this->user['project_id']} > /dev/null 2>&1 &");