소스 검색

Merge branch 'web_sannong_fr'

15313670163 4 일 전
부모
커밋
ad848148e5
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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')