From ab56140989eb46a7b9693668f8baf4d215f1b832 Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Mon, 26 Oct 2020 16:24:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF=E5=A4=84?= =?UTF-8?q?=E7=90=86?= 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 92b2493..4ce996b 100644 --- a/app/Controller/v3/GoodsController.php +++ b/app/Controller/v3/GoodsController.php @@ -66,7 +66,7 @@ class GoodsController extends BaseController //搜索不到商品 if(is_null($res['detail']['id'])){ - throw new ErrorCodeException(ErrorCode::GOODS_ACTIVITY_ON_SALE_NO); + throw new ErrorCodeException(ErrorCode::GOODS_ON_SALE_NO); } //如果没有banner数据,使用商品cover图 if(count($res['banner']) == 0){