常见validator使用与前后端传送数据问题
validator验证:
@Email:验证邮箱格式
@Length:Validate that the string is between min and max included.:
实例:
@Length(min = 1, max = 100, message = “application_detail length limit from 1 to 100”)
private String applicationDetail;
@NotBlank:Validate that the annotated
原创
2021-05-26 18:22:12 ·
191 阅读 ·
0 评论