【7.3.2】【cache】修复缓存代理配置

pull/41/head
fengshuonan 2022-11-09 10:19:08 +08:00
parent 4418242bf4
commit ebf58ce0fb
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public class TenantCacheProxy implements InvocationHandler {
public <T> CacheOperatorApi<T> bindCacheObject(String tenantCode, CacheOperatorApi<T> target) { public <T> CacheOperatorApi<T> bindCacheObject(String tenantCode, CacheOperatorApi<T> target) {
this.targetCacheObject = target; this.targetCacheObject = target;
this.tenantCode = tenantCode; this.tenantCode = tenantCode;
return (CacheOperatorApi<T>) Proxy.newProxyInstance(target.getClass().getClassLoader(), target.getClass().getInterfaces(), this); return (CacheOperatorApi<T>) Proxy.newProxyInstance(target.getClass().getClassLoader(), target.getClass().getSuperclass().getInterfaces(), this);
} }
@Override @Override