【8.0】【sys】【org】更新缓存配置的常量类

pull/57/head
fengshuonan 2023-07-14 22:19:35 +08:00
parent 5caf7ae4a9
commit a61d09e384
4 changed files with 9 additions and 9 deletions

View File

@ -67,9 +67,4 @@ public interface SysConstants {
*/
String ADMIN_USER_ACCOUNT = "admin";
/**
*
*/
String SYS_ORG_SUB_FLAG_CACHE_PREFIX = "SYS:ORG:HAVE_SUB_FLAG:";
}

View File

@ -2,7 +2,7 @@ package cn.stylefeng.roses.kernel.sys.modular.org.cache.subflag;
import cn.hutool.cache.impl.TimedCache;
import cn.stylefeng.roses.kernel.cache.memory.AbstractMemoryCacheOperator;
import cn.stylefeng.roses.kernel.sys.api.constants.SysConstants;
import cn.stylefeng.roses.kernel.sys.modular.org.constants.OrgConstants;
/**
*
@ -18,7 +18,7 @@ public class SysOrgSubFlagMemoryCache extends AbstractMemoryCacheOperator<Boolea
@Override
public String getCommonKeyPrefix() {
return SysConstants.SYS_ORG_SUB_FLAG_CACHE_PREFIX;
return OrgConstants.SYS_ORG_SUB_FLAG_CACHE_PREFIX;
}
}

View File

@ -1,7 +1,7 @@
package cn.stylefeng.roses.kernel.sys.modular.org.cache.subflag;
import cn.stylefeng.roses.kernel.cache.redis.AbstractRedisCacheOperator;
import cn.stylefeng.roses.kernel.sys.api.constants.SysConstants;
import cn.stylefeng.roses.kernel.sys.modular.org.constants.OrgConstants;
import org.springframework.data.redis.core.RedisTemplate;
/**
@ -18,7 +18,7 @@ public class SysOrgSubFlagRedisCache extends AbstractRedisCacheOperator<Boolean>
@Override
public String getCommonKeyPrefix() {
return SysConstants.SYS_ORG_SUB_FLAG_CACHE_PREFIX;
return OrgConstants.SYS_ORG_SUB_FLAG_CACHE_PREFIX;
}
}

View File

@ -32,6 +32,11 @@ package cn.stylefeng.roses.kernel.sys.modular.org.constants;
*/
public interface OrgConstants {
/**
*
*/
String SYS_ORG_SUB_FLAG_CACHE_PREFIX = "SYS:ORG:HAVE_SUB_FLAG:";
/**
*
*/