作者 刘锟

update

... ... @@ -193,6 +193,8 @@ class SiteTranslate extends Command
}
}
$this->output('项目ID : ' . $project_id . ' , 产品关键词翻译完成');
//翻译单页
$pages = BCustomTemplate::select(['id', 'name', 'title', 'keywords', 'description'])->get();
foreach ($pages as $v_page) {
... ... @@ -214,6 +216,8 @@ class SiteTranslate extends Command
}
$this->output('项目ID : ' . $project_id . ' , 单页翻译完成');
$this->output('项目ID : ' . $project_id . ' , 整站内容翻译结束');
}
... ...