正在显示
1 个修改的文件
包含
4 行增加
和
1 行删除
| @@ -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]'])){ |
-
请 注册 或 登录 后发表评论