兑换码优化
This commit is contained in:
parent
2f7d139769
commit
77b487a060
|
|
@ -295,7 +295,7 @@ public class MkRedemptionConfigServiceImpl extends ServiceImpl<MkCouponRedemptio
|
|||
|
||||
AssertUtil.isTrue(redemptionCode.getStatus() != 0, "兑换码不存在");
|
||||
|
||||
MkRedemptionConfigVO config = detail(mainShopId, redemptionCode.getId());
|
||||
MkRedemptionConfigVO config = detail(mainShopId, redemptionCode.getRedemptionId());
|
||||
AssertUtil.isNull(config, "兑换配置不存在");
|
||||
AssertUtil.isTrue(config.getStock() <= 0, "兑换码可兑换库存不足");
|
||||
if (config.getStartTime() != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue