作者 赵彬吉

update

@@ -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