Browse Source

[支付检查商户信息][修复]:不存在或者已禁用商户不能购买

release_toaliyun_real
Stormeye.Wu 7 years ago
parent
commit
0043c2f8e0
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java

+ 0
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java View File

@@ -208,7 +208,6 @@ public class WxOrderServiceImpl implements WxOrderService {
throw new MallinkException(ErrorCode.COUPON_ORDER_IS_INVALID); throw new MallinkException(ErrorCode.COUPON_ORDER_IS_INVALID);
} }


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


// 减库存操作 // 减库存操作
stockReduce(user, coupon, couponIdStr); stockReduce(user, coupon, couponIdStr);


Loading…
Cancel
Save