diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java index 9107d86e9..45ab60139 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java @@ -429,7 +429,9 @@ public class WxCouponServiceImpl implements WxCouponService { } } else{ - return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); + if (!EnumCouponType.COUPON_GIFT.getCode().equals(record.getType())){ + return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL); + } } if (record.getPasswordSupport() != null && record.getPasswordSupport().equals(EnumCouponPasswordSupport.SUPPORTED.getCode())) {