From 5e1ee6981705b31aa0afe9267128fdaa7eebd505 Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Sat, 5 Sep 2020 11:25:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Controller/v3/GoodsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controller/v3/GoodsController.php b/app/Controller/v3/GoodsController.php index 4f620f8..dd98e2f 100644 --- a/app/Controller/v3/GoodsController.php +++ b/app/Controller/v3/GoodsController.php @@ -48,7 +48,7 @@ class GoodsController extends BaseController $res['banner'] = $this->goodsService->getBanner(); } if(isset($params['user_id'])) { - $res['shopcart']['check'] = $this->shopCartService->check(111); + $res['shopcart']['count'] = $this->shopCartService->check(111); $res['shopcart']['total'] = $this->shopCartService->getTotal(); $res['detail']->store->is_collected = (bool)$this->collectService->check($params['user_id'], $params['store_id']); }else{