Browse Source

专题管理

gorden 9 months ago
parent
commit
355d3050d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/service/goods/GoodsService.php

+ 1 - 1
app/admin/service/goods/GoodsService.php

@@ -118,7 +118,7 @@ class GoodsService
             });
         })->when($categoryId != null, function ($query) use ($categoryId) {
             $query->where('join_goods_category_id', $categoryId);
-        })->where('goods_classify', $classify)->count();
+        })->whereIn('join_goods_category_id', [65,43])->count();
 
         foreach ($rows as &$row) {
             $row['goods_cover'] = getenv('STORAGE_DOMAIN') . $row['goods_cover'];