作者 赵彬吉

update

@@ -372,8 +372,8 @@ class UpdateSeoTdk extends Command @@ -372,8 +372,8 @@ class UpdateSeoTdk extends Command
372 } else if ($table == 'gl_product_keyword' && $field == 'seo_title') { 372 } else if ($table == 'gl_product_keyword' && $field == 'seo_title') {
373 # TODO 聚合页seo title 特殊处理 前缀_1 . 关键词 . 后缀_2 373 # TODO 聚合页seo title 特殊处理 前缀_1 . 关键词 . 后缀_2
374 $seo_title = $v[$this->topic_fields[$table]];; 374 $seo_title = $v[$this->topic_fields[$table]];;
375 - //只有推广项目 且未标记特殊前后缀 才加 前后缀  
376 - if($project->type == Project::TYPE_TWO && !in_array(8, explode(',', $project->deploy_optimize->special))) { 375 + //只有推广项目 才加 前后缀
  376 + if($project->type == Project::TYPE_TWO) {
377 $prefix = $this->getPrefixKeyword($project_id, 'prefix', 1, $seo_title); 377 $prefix = $this->getPrefixKeyword($project_id, 'prefix', 1, $seo_title);
378 $suffix = $this->getPrefixKeyword($project_id, 'suffix', 2, trim($prefix . ' ' . $seo_title)); 378 $suffix = $this->getPrefixKeyword($project_id, 'suffix', 2, trim($prefix . ' ' . $seo_title));
379 if(Str::startsWith($suffix, ', ')){ 379 if(Str::startsWith($suffix, ', ')){