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; }