From 55af31eb18d263f3ce62c42b6c0b56121d01e1bd Mon Sep 17 00:00:00 2001 From: weigang Date: Thu, 24 Sep 2020 16:24:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E7=B1=BB=E6=B4=BB=E5=8A=A8=E5=95=86?= =?UTF-8?q?=E5=93=81=E8=B4=AD=E4=B9=B0=E9=99=90=E5=88=B6=E7=9A=84=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/v3/Implementations/ShopCartUpdateService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/v3/Implementations/ShopCartUpdateService.php b/app/Service/v3/Implementations/ShopCartUpdateService.php index c6dd87a..72fd76f 100644 --- a/app/Service/v3/Implementations/ShopCartUpdateService.php +++ b/app/Service/v3/Implementations/ShopCartUpdateService.php @@ -51,7 +51,7 @@ class ShopCartUpdateService implements ShopCartUpdateServiceInterface array_push($goodsArr,$goodsId); $checkGoodsActivity = $this->goodsActivityService->checkOrderActivityCount($goodsArr); if(!$checkGoodsActivity){ - throw new ErrorCodeException(ErrorCode::GOODS_ACTIVITY_BUY); + throw new ErrorCodeException(ErrorCode::GOODS_ACTIVITY_RESTRICT_LIMIT); } $goodsCheck = $this->goodsActivityService->check($goods,$num,$userId); }else{