作者 赵彬吉

update

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