|
@@ -56,6 +56,7 @@ class AiBlogLogic extends BaseLogic |
|
@@ -56,6 +56,7 @@ class AiBlogLogic extends BaseLogic |
|
56
|
$aiBlogService->mch_id = $aiSettingInfo['mch_id'];
|
56
|
$aiBlogService->mch_id = $aiSettingInfo['mch_id'];
|
|
57
|
$aiBlogService->key = $aiSettingInfo['key'];
|
57
|
$aiBlogService->key = $aiSettingInfo['key'];
|
|
58
|
$aiBlogService->route = generateRoute(Translate::tran($this->param['route'], 'en'));
|
58
|
$aiBlogService->route = generateRoute(Translate::tran($this->param['route'], 'en'));
|
|
|
|
59
|
+ $aiBlogService->createAuthor();
|
|
59
|
$result = $aiBlogService->createTask($this->param['keyword'],$this->param['type']);
|
60
|
$result = $aiBlogService->createTask($this->param['keyword'],$this->param['type']);
|
|
60
|
if($result['status'] == 200){
|
61
|
if($result['status'] == 200){
|
|
61
|
$aiBlogTaskModel = new AiBlogTask();
|
62
|
$aiBlogTaskModel = new AiBlogTask();
|