forked from github/dataease
fix: 代理权限视图报错
This commit is contained in:
parent
9b28cf628a
commit
f507da46c9
@ -1,6 +1,5 @@
|
|||||||
package io.dataease.auth.aop;
|
package io.dataease.auth.aop;
|
||||||
|
|
||||||
import java.lang.reflect.Array;
|
|
||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
@ -60,7 +59,7 @@ public class DePermissionProxyHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private PermissionProxy getProxy(Object arg, DePermissionProxy annotation, int layer) throws Exception {
|
private PermissionProxy getProxy(Object arg, DePermissionProxy annotation, int layer) throws Exception {
|
||||||
PermissionProxy result = null;
|
if(null == arg) return null;
|
||||||
String value = annotation.value();
|
String value = annotation.value();
|
||||||
Class<?> parameterType = arg.getClass();
|
Class<?> parameterType = arg.getClass();
|
||||||
if (arg instanceof PermissionProxy) {
|
if (arg instanceof PermissionProxy) {
|
||||||
|
Loading…
Reference in New Issue
Block a user