作者 赵彬吉

update

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