|
...
|
...
|
@@ -61,7 +61,7 @@ class AiBlogTask extends Command |
|
|
|
//保存当前项目ai_blog数据
|
|
|
|
ProjectServer::useProject($info['project_id']);
|
|
|
|
$aiBlogModel = new AiBlog();
|
|
|
|
$aiBlogModel->edit(['new_title'=>$result['data']['title'],'image'=>$result['data']['thumb'],'text'=>$result['data']['"section'],'status'=>2],['task_id'=>$info['task_id']]);
|
|
|
|
$aiBlogModel->edit(['new_title'=>$result['data']['title'],'image'=>$result['data']['thumb'],'text'=>$result['data']['section'],'status'=>2],['task_id'=>$info['task_id']]);
|
|
|
|
DB::disconnect('custom_mysql');
|
|
|
|
echo '结束->任务id:' . $info['task_id'] . PHP_EOL . date('Y-m-d H:i:s');
|
|
|
|
}
|
...
|
...
|
|