Browse Source

优惠券返券活动--去掉调试代码

master
liangyuyan 5 years ago
parent
commit
a529ccc46a
  1. 2
      app/Constants/SsdbKeysPrefix.php
  2. 2
      app/Service/CouponService.php

2
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_';
}

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

Loading…
Cancel
Save