【7.3.2】【role】角色缓存修改

pull/43/MERGE
fengshuonan 2022-11-17 00:53:10 +08:00
parent fd8a55d84e
commit 1996ee1421
6 changed files with 29 additions and 0 deletions

View File

@ -47,4 +47,9 @@ public class RoleDataScopeMemoryCache extends AbstractMemoryCacheOperator<List<L
return SystemCachesConstants.ROLE_DATA_SCOPE_CACHE_PREFIX; return SystemCachesConstants.ROLE_DATA_SCOPE_CACHE_PREFIX;
} }
@Override
public Boolean divideByTenant() {
return true;
}
} }

View File

@ -47,4 +47,9 @@ public class RoleDataScopeRedisCache extends AbstractRedisCacheOperator<List<Lon
return SystemCachesConstants.ROLE_DATA_SCOPE_CACHE_PREFIX; return SystemCachesConstants.ROLE_DATA_SCOPE_CACHE_PREFIX;
} }
@Override
public Boolean divideByTenant() {
return true;
}
} }

View File

@ -46,4 +46,9 @@ public class RoleMemoryCache extends AbstractMemoryCacheOperator<SysRole> {
return SystemCachesConstants.ROLE_INFO_CACHE_PREFIX; return SystemCachesConstants.ROLE_INFO_CACHE_PREFIX;
} }
@Override
public Boolean divideByTenant() {
return true;
}
} }

View File

@ -46,4 +46,9 @@ public class RoleRedisCache extends AbstractRedisCacheOperator<SysRole> {
return SystemCachesConstants.ROLE_INFO_CACHE_PREFIX; return SystemCachesConstants.ROLE_INFO_CACHE_PREFIX;
} }
@Override
public Boolean divideByTenant() {
return true;
}
} }

View File

@ -47,4 +47,9 @@ public class RoleResourceMemoryCache extends AbstractMemoryCacheOperator<List<St
return SystemCachesConstants.ROLE_RESOURCE_CACHE_PREFIX; return SystemCachesConstants.ROLE_RESOURCE_CACHE_PREFIX;
} }
@Override
public Boolean divideByTenant() {
return true;
}
} }

View File

@ -47,4 +47,8 @@ public class RoleResourceRedisCache extends AbstractRedisCacheOperator<List<Stri
return SystemCachesConstants.ROLE_RESOURCE_CACHE_PREFIX; return SystemCachesConstants.ROLE_RESOURCE_CACHE_PREFIX;
} }
@Override
public Boolean divideByTenant() {
return true;
}
} }