作者 Ricky

替换自定义验证注解

@@ -43,8 +43,8 @@ @@ -43,8 +43,8 @@
43 43
44 <!-- 自定义验证注解 --> 44 <!-- 自定义验证注解 -->
45 <dependency> 45 <dependency>
46 - <groupId>javax.validation</groupId>  
47 - <artifactId>validation-api</artifactId> 46 + <groupId>org.springframework.boot</groupId>
  47 + <artifactId>spring-boot-starter-validation</artifactId>
48 </dependency> 48 </dependency>
49 49
50 <!--常用工具类 --> 50 <!--常用工具类 -->