fix: 增加提示

This commit is contained in:
张松
2024-12-06 13:38:30 +08:00
parent 7f9086eb50
commit 99c86e0175

View File

@@ -18,7 +18,7 @@ public class AddCartDTO {
private Integer shopId;
private String tableId;
@NotNull
@DecimalMin("0.01")
@DecimalMin(value = "0.01", message = "数量最小为0.01")
private BigDecimal num;
private boolean isPack;
private boolean isGift;