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) {