Spring校验表单 validation API
Spring校验表单 validation API在实体内添加注解public class Student { @NotEmpty @Size(min = 2,message = "name must be at least 5") private String name; @NotEmpty @Size(min = 11,max = 11, message = "phone len...
原创
2020-03-29 19:42:17 ·
147 阅读 ·
0 评论