forked from github/dataease
Merge pull request #1862 from dataease/pr@v1.8@fix_proxy_permission
fix: 代理权限视图报错
This commit is contained in:
commit
2cf50fd484
@ -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