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