作者 lyh

Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6 into master-server

... ... @@ -97,11 +97,11 @@ class UpdateSeoTdk extends Command
'ai_blog_meta_keywords' => 'seo_keyword',
'ai_blog_meta_description' => 'seo_description',
],
'gl_ai_blog_list' => [
'ai_blog_cat_title' => 'seo_title',
'ai_blog_cat_meta_keywords' => 'seo_keyword',
'ai_blog_cat_meta_description' => 'seo_description',
],
// 'gl_ai_blog_list' => [
// 'ai_blog_cat_title' => 'seo_title',
// 'ai_blog_cat_meta_keywords' => 'seo_keyword',
// 'ai_blog_cat_meta_description' => 'seo_description',
// ],
'gl_ai_blog_author' => [
'ai_blog_author_title' => 'seo_title',
'ai_blog_author_meta_keywords' => 'seo_keyword',
... ...
... ... @@ -111,7 +111,7 @@ class ProjectLogic extends BaseLogic
//升级项目采集完成时间
$info['collect_time'] = $info['is_upgrade'] ? UpdateLog::getProjectUpdate($id) : '';
//获取项目所属行业
$info['industry'] = ProjectIndustryRelated::where('project_id', $id)->pluck('industry_id')->toArray();
$info['deploy_optimize']['industry'] = ProjectIndustryRelated::where('project_id', $id)->pluck('industry_id')->toArray();
return $this->success($info);
}
... ... @@ -182,8 +182,6 @@ class ProjectLogic extends BaseLogic
$this->saveProjectAfter($this->param['project_after']);
//单独保存小语种配置
$this->saveMinorLanguages($this->param['minor_languages'] ?? [],$this->param['id']);
//单独保存行业信息
ProjectIndustryRelated::saveRelated($this->param['id'],$this->param['industry'] ?? []);
//同步图片文件
$this->syncImageFile($this->param['project_location'],$this->param['id']);
//同步信息表
... ... @@ -427,6 +425,8 @@ class ProjectLogic extends BaseLogic
* @time :2023/8/30 13:45
*/
protected function saveProjectDeployOptimize($deploy_optimize){
//单独保存行业信息
ProjectIndustryRelated::saveRelated($deploy_optimize['project_id'],$deploy_optimize['industry'] ?? []);
$deployOptimizeModel = new DeployOptimize();
if(isset($deploy_optimize['domain']) && !empty($deploy_optimize['domain'])){
//更改域名
... ...