提取常量配置信息
This commit is contained in:
@@ -30,6 +30,13 @@
|
||||
</dependency>
|
||||
<!-- xtools end -->
|
||||
|
||||
<!-- 项目模块 begin -->
|
||||
<dependency>
|
||||
<groupId>org.xujun</groupId>
|
||||
<artifactId>xtools-app-common-config</artifactId>
|
||||
</dependency>
|
||||
<!-- 项目模块 end -->
|
||||
|
||||
<!-- aop -->
|
||||
<dependency>
|
||||
<groupId>org.aspectj</groupId>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package xtools.app.common.cache.enums;
|
||||
|
||||
import xtools.app.common.config.AppCommonConfig;
|
||||
import xtools.boot.cache.redis.enums.BaseCacheEnum;
|
||||
import xtools.core.extend.TemplateUtils;
|
||||
|
||||
@@ -52,7 +53,7 @@ public enum AppCache implements BaseCacheEnum {
|
||||
/**
|
||||
* 系统缓存前缀
|
||||
*/
|
||||
private final static String SYS_CACHE_PREFIX = "xtools-app:";
|
||||
private final static String SYS_CACHE_PREFIX = AppCommonConfig.APP_CACHE_PREFIX;
|
||||
|
||||
/**
|
||||
* key
|
||||
|
||||
Reference in New Issue
Block a user