|
|
|
@@ -208,7 +208,6 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
throw new MallinkException(ErrorCode.COUPON_ORDER_IS_INVALID); |
|
|
|
} |
|
|
|
|
|
|
|
/* |
|
|
|
WxMerchant wxMerchant = wxMerchantMapper.selectByPrimaryKey(coupon.getMerchantId()); |
|
|
|
if (wxMerchant == null) { |
|
|
|
logger.error("商户不存在, couponId: " + couponIdStr); |
|
|
|
@@ -218,7 +217,6 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
logger.error("商户已禁用, couponId: " + couponIdStr); |
|
|
|
throw new MallinkException(ErrorCode.MERCHANT_INFO_NOT_VALID); |
|
|
|
} |
|
|
|
*/ |
|
|
|
|
|
|
|
// 减库存操作 |
|
|
|
stockReduce(user, coupon, couponIdStr); |
|
|
|
|