|
|
@@ -1387,7 +1387,7 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
throw new MallinkException(ErrorCode.COUPON_IS_EMPTY); |
|
|
throw new MallinkException(ErrorCode.COUPON_IS_EMPTY); |
|
|
} |
|
|
} |
|
|
if (coupon.getStatus() == EnumCouponStatus.COUPON_STATUS_TAKE_OFFF.getCode()) { |
|
|
if (coupon.getStatus() == EnumCouponStatus.COUPON_STATUS_TAKE_OFFF.getCode()) { |
|
|
logger.error("券已下架, couponId: " + couponId); |
|
|
|
|
|
|
|
|
logger.error("券已作废, couponId: " + couponId); |
|
|
throw new MallinkException(ErrorCode.COUPON_IS_TAKE_OFF.getCode(), coupon.getTitle() + ErrorCode.COUPON_IS_TAKE_OFF.getMessage()); |
|
|
throw new MallinkException(ErrorCode.COUPON_IS_TAKE_OFF.getCode(), coupon.getTitle() + ErrorCode.COUPON_IS_TAKE_OFF.getMessage()); |
|
|
} |
|
|
} |
|
|
if (coupon.getSendType() != 3 || coupon.getSalePrice() != 0) { |
|
|
if (coupon.getSendType() != 3 || coupon.getSalePrice() != 0) { |
|
|
|