@@ -1665,6 +1665,7 @@ class NewsService implements NewsServiceInterface
$where = [
'good.status' => 2,
'good.website_id' => $data['website_id'],
+ 'good.id' => $data['id'],
];
$goods = Good::where($where)
->where('good.id', $data['id'])