🐛 Fixing a bug. spring cache 主动过期 bug 修改
This commit is contained in:
1 parent
633311c02d
commit
97a7dbaa4b
1 file changed
+1
-1
+1
-1
@@ -68,6 +68,6 @@ public class RedisAutoCacheManager extends RedisCacheManager {
|
||||
|
||||
@Override
|
||||
public Cache getCache(String name) {
|
||||
return super.getCache(name + StrUtil.DASHED + TenantContextHolder.getTenantId());
|
||||
return super.getCache(TenantContextHolder.getTenantId() + StrUtil.COLON + name);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user