作者 lyh

gx

@@ -145,7 +145,7 @@ class UpdateSeoTdk extends Command @@ -145,7 +145,7 @@ class UpdateSeoTdk extends Command
145 if(!$data){ 145 if(!$data){
146 continue; 146 continue;
147 } 147 }
148 - DB::connection('custom_mysql')->table('gl_news')->where(['id'=>$v['id']])->update($data); 148 + DB::connection('custom_mysql')->table('gl_product_category')->where(['id'=>$v['id']])->update($data);
149 } 149 }
150 } 150 }
151 return true; 151 return true;
@@ -220,7 +220,7 @@ class UpdateSeoTdk extends Command @@ -220,7 +220,7 @@ class UpdateSeoTdk extends Command
220 if(!$data){ 220 if(!$data){
221 continue; 221 continue;
222 } 222 }
223 - DB::connection('custom_mysql')->table('gl_news')->where(['id'=>$v['id']])->update($data); 223 + DB::connection('custom_mysql')->table('gl_news_category')->where(['id'=>$v['id']])->update($data);
224 } 224 }
225 } 225 }
226 return true; 226 return true;
@@ -295,7 +295,7 @@ class UpdateSeoTdk extends Command @@ -295,7 +295,7 @@ class UpdateSeoTdk extends Command
295 if(!$data){ 295 if(!$data){
296 continue; 296 continue;
297 } 297 }
298 - DB::connection('custom_mysql')->table('gl_news')->where(['id'=>$v['id']])->update($data); 298 + DB::connection('custom_mysql')->table('gl_blog_category')->where(['id'=>$v['id']])->update($data);
299 } 299 }
300 } 300 }
301 return true; 301 return true;
@@ -339,7 +339,7 @@ class UpdateSeoTdk extends Command @@ -339,7 +339,7 @@ class UpdateSeoTdk extends Command
339 if(!$data){ 339 if(!$data){
340 continue; 340 continue;
341 } 341 }
342 - DB::connection('custom_mysql')->table('gl_blog')->where(['id'=>$v['id']])->update($data); 342 + DB::connection('custom_mysql')->table('gl_web_custom_template')->where(['id'=>$v['id']])->update($data);
343 } 343 }
344 } 344 }
345 } 345 }