elunez/eladmin-mp

validation注解校验不生效,需要引入依赖

Tingnichui opened this issue · 1 comments

image
eladmin-system 中maven依赖中的validation来自接口文档,入参使用validation注解根本不生效,需要引入依赖
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-validation</artifactId> </dependency>
image
引入之后就正常生效了