记得上下班打卡 | git大法好,push需谨慎

Commit 3e1a9bf4 authored by 张国柄's avatar 张国柄

~API:优惠券编辑:折扣校验调整;

parent 01afe240
......@@ -62,7 +62,9 @@ public class GoblinStoreMgtCouponAddParam implements Serializable {
@DecimalMin(value = "0.01", message = "面值不能小于0.01")
private BigDecimal valFace;
@ApiModelProperty(position = 12, required = false, value = "折扣[8,2]", example = "0.8")
@DecimalMin(value = "0.01", message = "折扣不能小于0.01")
// @DecimalMin(value = "0.01", message = "折扣不能小于0.01")
@DecimalMin(value = "0.100", message = "折扣不能小于1.00折")
@DecimalMax(value = "0.999", message = "折扣不能大于9.99折")
private BigDecimal discount;
@ApiModelProperty(position = 12, required = false, value = "满减~满[8,2]", example = "10")
@DecimalMin(value = "0.02", message = "满减金额不能小于0.02")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment