|
@@ -166,7 +166,7 @@ public class SecurityValidateInterceptor implements HandlerInterceptor, WebMvcCo
|
|
|
HandlerMethod method = (HandlerMethod) handler;
|
|
|
Sign sign = method.getMethodAnnotation(Sign.class);
|
|
|
if (sign == null) {
|
|
|
- sign = method.getMethod().getDeclaringClass().getAnnotation(Sign.class);
|
|
|
+ sign = method.getBeanType().getAnnotation(Sign.class);
|
|
|
}
|
|
|
if (sign != null && sign.enabled()) {
|
|
|
String payload = HttpUtils.serialize(request, true);
|