|
|
@ -805,11 +805,8 @@ public class CacheUtil {
|
|
|
|
public void init(CacheProperties cacheProperties,
|
|
|
|
public void init(CacheProperties cacheProperties,
|
|
|
|
RedisPlugin redisPlugin,
|
|
|
|
RedisPlugin redisPlugin,
|
|
|
|
EhCachePlugin ehCachePlugin){
|
|
|
|
EhCachePlugin ehCachePlugin){
|
|
|
|
if(cacheProperties != null){
|
|
|
|
|
|
|
|
// 获得 超级管理员
|
|
|
|
|
|
|
|
CacheUtil.PREFIX_NAME = Convert.toStr(cacheProperties.getPrefix(), "opsli") + ":";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CacheUtil.PREFIX_NAME = Convert.toStr(cacheProperties.getPrefix(), "opsli") + ":";
|
|
|
|
CacheUtil.redisPlugin = redisPlugin;
|
|
|
|
CacheUtil.redisPlugin = redisPlugin;
|
|
|
|
CacheUtil.ehCachePlugin = ehCachePlugin;
|
|
|
|
CacheUtil.ehCachePlugin = ehCachePlugin;
|
|
|
|
|
|
|
|
|
|
|
|