Browse Source

update gift

release_toaliyun_real
xhxu 4 years ago
parent
commit
aa7548dd5a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java

+ 2
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java View File

@@ -293,7 +293,8 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService {
return vo;
}

if(!isCouponMerchantValid(wxCoupon.getId(),wxCoupon.getTenantId())) {
if(!EnumCouponType.COUPON_GIFT.getCode().equals(wxCoupon.getType())
&& !isCouponMerchantValid(wxCoupon.getId(),wxCoupon.getTenantId())) {
logger.debug(wxCoupon.getId()+couponid+ErrorCode.MERCHANT_INFO_NOT_FOUND.getMessage());
vo.toCouponChannnelVo(wxCoupon,channelId);
vo.setErrorMsg(ErrorCode.MERCHANT_INFO_NOT_FOUND.getMessage());


Loading…
Cancel
Save