mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-07 23:57:20 +08:00
后台-文章管理:初始浏览量填写负数时报错
This commit is contained in:
@@ -46,6 +46,7 @@ public class ArticleCreateValidate implements Serializable {
|
||||
|
||||
private String summary = "";
|
||||
|
||||
@DecimalMin(value = "0", message = "初始浏览量不能少于0")
|
||||
private Integer visit = 0;
|
||||
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@ public class ArticleUpdateValidate implements Serializable {
|
||||
|
||||
private String summary = "";
|
||||
|
||||
@DecimalMin(value = "0", message = "初始浏览量不能少于0")
|
||||
private Integer visit = 0;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user