作者 lyh

gx创建作者

@@ -99,7 +99,7 @@ class AiBlogLogic extends BaseLogic @@ -99,7 +99,7 @@ class AiBlogLogic extends BaseLogic
99 $aiBlogService = new AiBlogService(); 99 $aiBlogService = new AiBlogService();
100 $aiBlogService->mch_id = $aiSettingInfo['mch_id']; 100 $aiBlogService->mch_id = $aiSettingInfo['mch_id'];
101 $aiBlogService->key = $aiSettingInfo['key']; 101 $aiBlogService->key = $aiSettingInfo['key'];
102 - $aiBlogService->route = generateRoute(Translate::tran($this->param['title'], 'en')); 102 + $aiBlogService->route = generateRoute(Translate::tran($this->param['keyword'], 'en'));
103 $result = $aiBlogService->createTask($this->param['keyword'],$this->param['type']); 103 $result = $aiBlogService->createTask($this->param['keyword'],$this->param['type']);
104 if($result['status'] == 200){ 104 if($result['status'] == 200){
105 $aiBlogTaskModel = new AiBlogTask(); 105 $aiBlogTaskModel = new AiBlogTask();