Browse Source

[免费券核销不发模板消息][修改]

release_toaliyun_real
Stormeye.Wu 7 years ago
parent
commit
41b80452a0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java

+ 4
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java View File

@@ -412,6 +412,10 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService {
logger.error("找不到券信息");
throw new MallinkException(ErrorCode.COUPON_IS_EMPTY);
}
if(coupon.getSalePrice().equals(0)) {
logger.info("免费券不发模板消息!");
return;
}
// 3. merchant info
WxMerchant merchant = wxMerchantMapper.selectByPrimaryKey(bUser.getMerchantId());
if (merchant == null) {


Loading…
Cancel
Save