|
...
|
...
|
@@ -71,7 +71,11 @@ class AiBlogAuthorTask extends Command |
|
|
|
continue;
|
|
|
|
}
|
|
|
|
if(empty($result['data'])){
|
|
|
|
echo '错误:'.json_encode($result,true);
|
|
|
|
$aiBlogService = new AiBlogService();
|
|
|
|
$aiBlogService->mch_id = $aiSettingInfo['mch_id'];
|
|
|
|
$aiBlogService->key = $aiSettingInfo['key'];
|
|
|
|
$create_result = $aiBlogService->createAuthor();
|
|
|
|
echo '没有作者任务:创建作者任务'.json_encode($create_result,true);
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
//保存当前项目ai_blog数据
|
...
|
...
|
|