Browse Source

update gift

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

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

@@ -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())) {


Loading…
Cancel
Save