From 29b84246857fe362fc96b8ebd514c89d0344adb1 Mon Sep 17 00:00:00 2001 From: wangbing Date: Wed, 25 Dec 2019 14:24:37 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81wadmin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: c124c4fa6982e5e1842973c2c5ad4aefc4162529 --- .../resources/modules/SpringBoot/java/config/CacheConfig.java | 2 +- .../modules/SpringBoot/java/frame/cache/TokenCacheManager.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/resources/modules/SpringBoot/java/config/CacheConfig.java b/src/main/resources/modules/SpringBoot/java/config/CacheConfig.java index 0ee20c58..ca95b2bf 100644 --- a/src/main/resources/modules/SpringBoot/java/config/CacheConfig.java +++ b/src/main/resources/modules/SpringBoot/java/config/CacheConfig.java @@ -3,7 +3,7 @@ package ${basePackage}.config; import org.springframework.cache.annotation.EnableCaching; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; -import xyz.wbsite.frame.cache.TokenCacheManager; +import ${basePackage}.frame.cache.TokenCacheManager; @Configuration @EnableCaching diff --git a/src/main/resources/modules/SpringBoot/java/frame/cache/TokenCacheManager.java b/src/main/resources/modules/SpringBoot/java/frame/cache/TokenCacheManager.java index 8b9fa21d..a975395c 100644 --- a/src/main/resources/modules/SpringBoot/java/frame/cache/TokenCacheManager.java +++ b/src/main/resources/modules/SpringBoot/java/frame/cache/TokenCacheManager.java @@ -6,7 +6,8 @@ import net.sf.ehcache.Element; import net.sf.ehcache.config.CacheConfiguration; import net.sf.ehcache.config.Configuration; import org.springframework.cache.ehcache.EhCacheCacheManager; -import xyz.wbsite.frame.base.Token; +import ${basePackage}.frame.base.Token; +import ${basePackage}.frame.utils.LogUtil; public class TokenCacheManager extends EhCacheCacheManager { private CacheManager cacheManager;