From a8fd50840c3fefa127f80c95c5c0a0b6981744d9 Mon Sep 17 00:00:00 2001 From: panliang <1163816051@qq.com> Date: Wed, 15 Feb 2023 17:06:05 +0800 Subject: [PATCH] 1 --- app/Endpoint/Api/Http/Controllers/StoreController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Endpoint/Api/Http/Controllers/StoreController.php b/app/Endpoint/Api/Http/Controllers/StoreController.php index a49dde5f..eb1c0186 100644 --- a/app/Endpoint/Api/Http/Controllers/StoreController.php +++ b/app/Endpoint/Api/Http/Controllers/StoreController.php @@ -50,7 +50,7 @@ class StoreController extends Controller ->with(['specs']) ->filter($input) ->wherePivot('status', 1) - ->groupBy('store_product_skus.product_spu_id') + // ->groupBy('store_product_skus.product_spu_id') ->simplePaginate(Paginator::resolvePerPage('per_page', 20, 50)); return StoreProductSpuResource::collection($list);