Browse Source

Merge remote-tracking branch 'origin/develop' into develop

release_toaliyun_real
luozukai 7 years ago
parent
commit
588e7ea256
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      mallinkService/src/main/java/com/iformall/service/impl/WxCampaignServiceImpl.java

+ 3
- 3
mallinkService/src/main/java/com/iformall/service/impl/WxCampaignServiceImpl.java View File

@@ -184,10 +184,10 @@ public class WxCampaignServiceImpl implements WxCampaignService {
throw new MallinkException(ErrorCode.COUPON_IS_EMPTY);
}
if (wxCoupon.getStatus() != EnumCouponStatus.COUPON_STATUS_THROW_IN.getCode()) {
throw new MallinkException(ErrorCode.COUPON_IS_TAKE_OFF);
}
return;
}
if (wxCoupon.getValidEndDate() != null && wxCoupon.getValidEndDate().before(new Date())) {
throw new MallinkException(ErrorCode.COUPON_IS_TAKE_OFF);
return;
}

// 已有的couponChannel, 更新


Loading…
Cancel
Save