fix: 代理权限视图报错

This commit is contained in:
fit2cloud-chenyw 2022-03-02 10:11:20 +08:00
parent 9b28cf628a
commit f507da46c9

View File

@ -1,6 +1,5 @@
package io.dataease.auth.aop;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Arrays;
@ -60,7 +59,7 @@ public class DePermissionProxyHandler {
}
private PermissionProxy getProxy(Object arg, DePermissionProxy annotation, int layer) throws Exception {
PermissionProxy result = null;
if(null == arg) return null;
String value = annotation.value();
Class<?> parameterType = arg.getClass();
if (arg instanceof PermissionProxy) {