fix: 增加提示
This commit is contained in:
@@ -18,7 +18,7 @@ public class AddCartDTO {
|
|||||||
private Integer shopId;
|
private Integer shopId;
|
||||||
private String tableId;
|
private String tableId;
|
||||||
@NotNull
|
@NotNull
|
||||||
@DecimalMin("0.01")
|
@DecimalMin(value = "0.01", message = "数量最小为0.01")
|
||||||
private BigDecimal num;
|
private BigDecimal num;
|
||||||
private boolean isPack;
|
private boolean isPack;
|
||||||
private boolean isGift;
|
private boolean isGift;
|
||||||
|
|||||||
Reference in New Issue
Block a user