正在显示
1 个修改的文件
包含
1 行增加
和
5 行删除
| @@ -72,11 +72,7 @@ class AiBlogAuthorTask extends Command | @@ -72,11 +72,7 @@ class AiBlogAuthorTask extends Command | ||
| 72 | continue; | 72 | continue; |
| 73 | } | 73 | } |
| 74 | if(empty($result['data'])){ | 74 | if(empty($result['data'])){ |
| 75 | - $aiBlogService = new AiBlogService(); | ||
| 76 | - $aiBlogService->mch_id = $aiSettingInfo['mch_id']; | ||
| 77 | - $aiBlogService->key = $aiSettingInfo['key']; | ||
| 78 | - $create_result = $aiBlogService->createAuthor(); | ||
| 79 | - echo '没有作者任务:创建作者任务'.json_encode($create_result,true); | 75 | + echo '没有作者任务:创建作者任务'.PHP_EOL; |
| 80 | continue; | 76 | continue; |
| 81 | } | 77 | } |
| 82 | //保存当前项目ai_blog数据 | 78 | //保存当前项目ai_blog数据 |
-
请 注册 或 登录 后发表评论