|
...
|
...
|
@@ -375,7 +375,7 @@ class UpdateSeoTdk extends Command |
|
|
|
//只有推广项目 且未标记特殊前后缀 才加 前后缀
|
|
|
|
if($project->type == Project::TYPE_TWO && !in_array(8, explode(',', $project->deploy_optimize->special))) {
|
|
|
|
$prefix = $this->getPrefixKeyword($project_id, 'prefix', 1, $seo_title);
|
|
|
|
$suffix = $this->getPrefixKeyword($project_id, 'suffix', 2, $seo_title);
|
|
|
|
$suffix = $this->getPrefixKeyword($project_id, 'suffix', 2, $prefix . ' ' . $seo_title);
|
|
|
|
if(Str::startsWith($suffix, ', ')){
|
|
|
|
$seo_title = $prefix . ' ' . $seo_title . $suffix;
|
|
|
|
}else{
|
...
|
...
|
|