Spring Boot做表单验证

1.在实体类中写注解

2.controller接收参数做验证:

猜你喜欢

转载自blog.csdn.net/rjkkaikai/article/details/81138886