作者 赵彬吉

update

@@ -151,7 +151,7 @@ class UpdateSeoTdk extends Command @@ -151,7 +151,7 @@ class UpdateSeoTdk extends Command
151 if(empty($v['seo_description'])){ 151 if(empty($v['seo_description'])){
152 $data['seo_description'] = $this->ai_send('blog_seo_description',$v['name']); 152 $data['seo_description'] = $this->ai_send('blog_seo_description',$v['name']);
153 } 153 }
154 - DB::connection('custom_mysql')->table('gl_product')->where(['id'=>$v['id']])->update($data); 154 + DB::connection('custom_mysql')->table('gl_blog')->where(['id'=>$v['id']])->update($data);
155 } 155 }
156 } 156 }
157 return true; 157 return true;