正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -77,7 +77,7 @@ class RerunSeoTdk extends Command | @@ -77,7 +77,7 @@ class RerunSeoTdk extends Command | ||
| 77 | 77 | ||
| 78 | public function needTransKeywordPage($project_id) | 78 | public function needTransKeywordPage($project_id) |
| 79 | { | 79 | { |
| 80 | - $row = Keyword::update(['sale_title' => null, 'sale_content' => null, 'count_title'=>null, 'table_html'=>null, 'count_html' => null]); | 80 | + $row = Keyword::whereNotNull('sale_title')->update(['sale_title' => null, 'sale_content' => null, 'count_title'=>null, 'table_html'=>null, 'count_html' => null]); |
| 81 | dump($project_id .' - ' .$row); | 81 | dump($project_id .' - ' .$row); |
| 82 | } | 82 | } |
| 83 | 83 |
-
请 注册 或 登录 后发表评论