diff --git a/heming-admin/src/main/resources/application-dev.yml b/heming-admin/src/main/resources/application-dev.yml
index b7ddf86..b99fc27 100644
--- a/heming-admin/src/main/resources/application-dev.yml
+++ b/heming-admin/src/main/resources/application-dev.yml
@@ -41,9 +41,10 @@ spring:
connection-test-query: select 1
# 缓存
cache:
- type: redis
- caffeine:
- spec: maximumSize=500,initialCapacity=100,expireAfterAccess=600s
+ type: REDIS
+ redis:
+ timeToLive: 68400000
+ cacheNullValues: true
# MyBatis配置
mybatis:
diff --git a/pom.xml b/pom.xml
index 0286022..d44ed16 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,6 +66,10 @@
spring-boot-configuration-processor
true
+
+ org.springframework.boot
+ spring-boot-starter-validation
+
org.springframework.boot
spring-boot-starter-test