From f46c3726e7717e0435a7e00083ff4f108f4e64eb Mon Sep 17 00:00:00 2001 From: zhouhao Date: Mon, 19 Jun 2017 14:37:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=B1=BB=E6=B3=A8=E8=A7=A3?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shiro/boost/BoostAuthorizationAttributeSourceAdvisor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsweb-authorization/hsweb-authorization-shiro/src/main/java/org/hswebframework/web/authorization/shiro/boost/BoostAuthorizationAttributeSourceAdvisor.java b/hsweb-authorization/hsweb-authorization-shiro/src/main/java/org/hswebframework/web/authorization/shiro/boost/BoostAuthorizationAttributeSourceAdvisor.java index 51f7b0531..564371d5e 100644 --- a/hsweb-authorization/hsweb-authorization-shiro/src/main/java/org/hswebframework/web/authorization/shiro/boost/BoostAuthorizationAttributeSourceAdvisor.java +++ b/hsweb-authorization/hsweb-authorization-shiro/src/main/java/org/hswebframework/web/authorization/shiro/boost/BoostAuthorizationAttributeSourceAdvisor.java @@ -95,7 +95,7 @@ public class BoostAuthorizationAttributeSourceAdvisor extends StaticMethodMatche if (null != authorize) { if (authorize.ignore()) return false; } - authorize = AopUtils.findAnnotation(targetClass, method, Authorize.class); + authorize = AopUtils.findAnnotation(targetClass, Authorize.class); if (null != authorize) { if (authorize.ignore()) return false; }