正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -375,7 +375,7 @@ class UpdateSeoTdk extends Command | @@ -375,7 +375,7 @@ class UpdateSeoTdk extends Command | ||
| 375 | //只有推广项目 且未标记特殊前后缀 才加 前后缀 | 375 | //只有推广项目 且未标记特殊前后缀 才加 前后缀 |
| 376 | if($project->type == Project::TYPE_TWO && !in_array(8, explode(',', $project->deploy_optimize->special))) { | 376 | if($project->type == Project::TYPE_TWO && !in_array(8, explode(',', $project->deploy_optimize->special))) { |
| 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, $seo_title); | 378 | + $suffix = $this->getPrefixKeyword($project_id, 'suffix', 2, $prefix . ' ' . $seo_title); |
| 379 | if(Str::startsWith($suffix, ', ')){ | 379 | if(Str::startsWith($suffix, ', ')){ |
| 380 | $seo_title = $prefix . ' ' . $seo_title . $suffix; | 380 | $seo_title = $prefix . ' ' . $seo_title . $suffix; |
| 381 | }else{ | 381 | }else{ |
-
请 注册 或 登录 后发表评论