作者 李宇航

合并分支 'lyh-server' 到 'master'

gx数据



查看合并请求 !1480
@@ -71,7 +71,11 @@ class AiBlogAuthorTask extends Command @@ -71,7 +71,11 @@ class AiBlogAuthorTask extends Command
71 continue; 71 continue;
72 } 72 }
73 if(empty($result['data'])){ 73 if(empty($result['data'])){
74 - echo '错误:'.json_encode($result,true); 74 + $aiBlogService = new AiBlogService();
  75 + $aiBlogService->mch_id = $aiSettingInfo['mch_id'];
  76 + $aiBlogService->key = $aiSettingInfo['key'];
  77 + $create_result = $aiBlogService->createAuthor();
  78 + echo '没有作者任务:创建作者任务'.json_encode($create_result,true);
75 continue; 79 continue;
76 } 80 }
77 //保存当前项目ai_blog数据 81 //保存当前项目ai_blog数据