Former-commit-id: c124c4fa6982e5e1842973c2c5ad4aefc4162529
master
wangbing 5 years ago
parent 86fbeeac45
commit 29b8424685

@ -3,7 +3,7 @@ package ${basePackage}.config;
import org.springframework.cache.annotation.EnableCaching; import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import xyz.wbsite.frame.cache.TokenCacheManager; import ${basePackage}.frame.cache.TokenCacheManager;
@Configuration @Configuration
@EnableCaching @EnableCaching

@ -6,7 +6,8 @@ import net.sf.ehcache.Element;
import net.sf.ehcache.config.CacheConfiguration; import net.sf.ehcache.config.CacheConfiguration;
import net.sf.ehcache.config.Configuration; import net.sf.ehcache.config.Configuration;
import org.springframework.cache.ehcache.EhCacheCacheManager; 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 { public class TokenCacheManager extends EhCacheCacheManager {
private CacheManager cacheManager; private CacheManager cacheManager;

Loading…
Cancel
Save

Powered by TurnKey Linux.