From a529ccc46a9737c057dc6b6b61cee6e852f0393f Mon Sep 17 00:00:00 2001 From: liangyuyan <1103300295@qq.com> Date: Thu, 6 Aug 2020 15:27:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E8=BF=94=E5=88=B8?= =?UTF-8?q?=E6=B4=BB=E5=8A=A8--=E5=8E=BB=E6=8E=89=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Constants/SsdbKeysPrefix.php | 2 +- app/Service/CouponService.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Constants/SsdbKeysPrefix.php b/app/Constants/SsdbKeysPrefix.php index 2550f84..d747600 100644 --- a/app/Constants/SsdbKeysPrefix.php +++ b/app/Constants/SsdbKeysPrefix.php @@ -30,5 +30,5 @@ class SsdbKeysPrefix extends AbstractConstants /** * @Message("Coupon rebate Key Prefix") */ - const COUPON_REBATE_REPAY = 'coupon_rebate_REPAY_'; + const COUPON_REBATE_REPAY = 'coupon_rebate_repay_'; } diff --git a/app/Service/CouponService.php b/app/Service/CouponService.php index d980954..39c91c8 100644 --- a/app/Service/CouponService.php +++ b/app/Service/CouponService.php @@ -39,7 +39,7 @@ class CouponService implements CouponServiceInterface ]; $nowTime = time(); $c_ids = []; -$result['active_type'] = 1; + // 渠道开启,查询该渠道可以领取的优惠券ID // 渠道未开启,查询所有优惠券 if (env('SUB_CHANNEL') == 1) {