Explorar el Código

Merge branch 'web_sannong_fr'

15313670163 hace 4 días
padre
commit
ad848148e5
Se han modificado 1 ficheros con 2 adiciones y 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')