Commit b0b526b9 authored by hangjun83's avatar hangjun83

百化产品接口更新

parent c28caa8c
...@@ -68,7 +68,7 @@ class BhuaProductsService ...@@ -68,7 +68,7 @@ class BhuaProductsService
$total = 0; $total = 0;
if($products){ if($products){
$products = app(ProductsTransformer::class)->transform($products); $products = app(ProductsTransformer::class)->transform($products);
$total = $this->bhuaProductService->brandsRepository->count($where); $total = $this->bhuaProductService->productRepository->count($where);
} }
$dataReturn = []; $dataReturn = [];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment