소스 검색

添加validation依赖

LGH 4 년 전
부모
커밋
a476236131
1개의 변경된 파일9개의 추가작업 그리고 5개의 파일을 삭제
  1. 9 5
      yami-shop-common/pom.xml

+ 9 - 5
yami-shop-common/pom.xml

@@ -45,10 +45,14 @@
             <artifactId>mysql-connector-java</artifactId>
             <artifactId>mysql-connector-java</artifactId>
         </dependency>
         </dependency>
 		<!-- 开始spring 缓存 -->
 		<!-- 开始spring 缓存 -->
-		<dependency>  
-            <groupId>org.springframework.boot</groupId>  
-            <artifactId>spring-boot-starter-cache</artifactId>  
-        </dependency> 
+		<dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-cache</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-validation</artifactId>
+        </dependency>
         <dependency>
         <dependency>
             <groupId>org.redisson</groupId>
             <groupId>org.redisson</groupId>
             <artifactId>redisson-spring-boot-starter</artifactId>
             <artifactId>redisson-spring-boot-starter</artifactId>
@@ -94,4 +98,4 @@
             <artifactId>weixin-java-mp</artifactId>
             <artifactId>weixin-java-mp</artifactId>
         </dependency>
         </dependency>
     </dependencies>
     </dependencies>
-</project>
+</project>