作者 lyh

更新修改

... ... @@ -124,7 +124,7 @@ class Category extends Base
$str[] = $cate_id;
$cate_ids = $this->getAllSub($list,$cate_id,$str);
$productArr = CategoryRelated::whereIn('cate_id',$cate_ids)->pluck('product_id')->unique()->toArray();
$count = count($productArr);
$count = count($productArr) - 1;
return $count;
}
... ...