Explorar o código

Merge branch 'web_sannong_fr'

15313670163 hai 4 días
pai
achega
ad848148e5
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      app/JsonRpc/NewsService.php

+ 2 - 1
app/JsonRpc/NewsService.php

@@ -2145,7 +2145,8 @@ 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'])
             ->leftJoin('website_category', 'website_category.category_id', 'good.catid')