|
...
|
...
|
@@ -385,7 +385,7 @@ class UpdateSeoTdk extends Command |
|
|
|
//in,for,with,to,near,from 这些介词 只拼前缀,不拼后缀
|
|
|
|
$suffix_ban = ['in ', 'for ', 'with ', 'to ', 'near ','from ', 'In ', 'For ', 'With ', 'To ', 'Near ','From '];
|
|
|
|
$suffix = '';
|
|
|
|
if(Str::contains($title, $suffix_ban)){
|
|
|
|
if(!Str::contains($title, $suffix_ban)){
|
|
|
|
// 某些后缀不能并存的情况
|
|
|
|
$ban_suffix = [];
|
|
|
|
//services/service 结尾的词,后缀不拼manufacturer,factory
|
...
|
...
|
|