diff --git a/nladmin-system/pom.xml b/nladmin-system/pom.xml index 4c14d29..30f8c95 100644 --- a/nladmin-system/pom.xml +++ b/nladmin-system/pom.xml @@ -25,25 +25,6 @@ 6.6 - - - - org.mongodb - mongo-java-driver - 3.4.2 - - - - com.alicp.jetcache - jetcache-starter-redis - 2.5.14 - - - com.alicp.jetcache - jetcache-starter-redis-lettuce - 2.5.14 - - org.springframework.boot spring-boot-starter-data-mongodb diff --git a/nladmin-system/src/main/java/org/nl/AppRun.java b/nladmin-system/src/main/java/org/nl/AppRun.java index 948a623..8e59e4c 100644 --- a/nladmin-system/src/main/java/org/nl/AppRun.java +++ b/nladmin-system/src/main/java/org/nl/AppRun.java @@ -1,8 +1,6 @@ package org.nl; import com.alicp.jetcache.Cache; -import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation; -import com.alicp.jetcache.anno.config.EnableMethodCache; import io.swagger.annotations.Api; import org.nl.annotation.rest.AnonymousGetMapping; import org.nl.utils.SpringContextHolder; @@ -35,8 +33,6 @@ import org.springframework.web.bind.annotation.RestController; @EnableTransactionManagement @EnableJpaAuditing(auditorAwareRef = "auditorAware") -@EnableMethodCache(basePackages = "org.nl") -@EnableCreateCacheAnnotation public class AppRun implements CommandLineRunner { private Cache userCache; diff --git a/nladmin-system/src/main/resources/config/application-dev.yml b/nladmin-system/src/main/resources/config/application-dev.yml index b3b5105..c81cebc 100644 --- a/nladmin-system/src/main/resources/config/application-dev.yml +++ b/nladmin-system/src/main/resources/config/application-dev.yml @@ -137,30 +137,3 @@ file: # 文件大小 /M maxSize: 100 avatarMaxSize: 5 - - - -jetcache: - defaultCacheType: LOCAL - statIntervalMinutes: 15 - areaInCacheName: false - hiddenPackages: com.yb - local: - default: - type: caffeine - limit: 100 - keyConvertor: fastjson - expireAfterWriteInMillis: 60000 - remote: - default: - type: redis.lettuce - keyConvertor: fastjson - valueEncoder: kryo - valueDecoder: kryo - poolConfig: - minIdle: 5 - maxIdle: 200 - maxTotal: 1000 - uri: - - redis://127.0.0.1:6379 - diff --git a/nladmin-system/src/main/resources/config/application-prod.yml b/nladmin-system/src/main/resources/config/application-prod.yml index d8634c1..83771bb 100644 --- a/nladmin-system/src/main/resources/config/application-prod.yml +++ b/nladmin-system/src/main/resources/config/application-prod.yml @@ -139,28 +139,3 @@ file: avatarMaxSize: 5 - -jetcache: - defaultCacheType: LOCAL - statIntervalMinutes: 15 - areaInCacheName: false - hiddenPackages: com.yb - local: - default: - type: caffeine - limit: 100 - keyConvertor: fastjson - expireAfterWriteInMillis: 60000 - remote: - default: - type: redis.lettuce - keyConvertor: fastjson - valueEncoder: kryo - valueDecoder: kryo - poolConfig: - minIdle: 5 - maxIdle: 200 - maxTotal: 1000 - uri: - - redis://127.0.0.1:6379 - diff --git a/nladmin-system/src/main/resources/config/application-test.yml b/nladmin-system/src/main/resources/config/application-test.yml index 305de4c..fc5a650 100644 --- a/nladmin-system/src/main/resources/config/application-test.yml +++ b/nladmin-system/src/main/resources/config/application-test.yml @@ -136,29 +136,3 @@ file: maxSize: 100 avatarMaxSize: 5 - - -jetcache: - defaultCacheType: LOCAL - statIntervalMinutes: 15 - areaInCacheName: false - hiddenPackages: com.yb - local: - default: - type: caffeine - limit: 100 - keyConvertor: fastjson - expireAfterWriteInMillis: 60000 - remote: - default: - type: redis.lettuce - keyConvertor: fastjson - valueEncoder: kryo - valueDecoder: kryo - poolConfig: - minIdle: 5 - maxIdle: 200 - maxTotal: 1000 - uri: - - redis://47.97.157.227:6379 - diff --git a/nladmin-system/src/main/resources/config/businessTpye.txt b/nladmin-system/src/main/resources/config/businessTpye.txt deleted file mode 100644 index b8b3ab4..0000000 --- a/nladmin-system/src/main/resources/config/businessTpye.txt +++ /dev/null @@ -1,9 +0,0 @@ -//项目协议类型说明 -0:标准协议,荣力营口,杰牌,金力永磁 -1:新锐 -2:贤益 -3:奇达 -4:广钞厂 -5:纽迪希亚 -6:太钢 -7:洁美 \ No newline at end of file