使用全局异常处理检验逻辑

This commit is contained in:
macro
2020-08-23 17:31:35 +08:00
parent 70fd6b20d3
commit b57f7e7e97
11 changed files with 50 additions and 79 deletions

View File

@@ -47,6 +47,10 @@
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
</dependencies>
</project>