🐛 Fixing a bug. spring cache 主动过期 bug 修改

This commit is contained in:
冷冷 committed 2019-03-20 15:31:42 +08:00
1 parent 633311c02d
commit 97a7dbaa4b
1 file changed
+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);
}
}