作者 赵彬吉

update

... ... @@ -786,9 +786,12 @@ class UpdateSeoTdk extends Command
Cache::forget($cache_key);
}
}
$a = $text;
$text = Common::deal_keywords($text);
$text = Common::deal_str($text);
if(!$text){
echo getmypid() . ' ' . 'AI生成结果['.$a.']被关键词过滤' . PHP_EOL;
}
//包含这写字 重新生成
if(Str::contains(Str::lower($text), ['[your brand]', '[brand name]'])){
... ...