|
@@ -82,7 +82,8 @@ public class FirstInterceptor implements HandlerInterceptor {
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
- if (handler instanceof HandlerMethod) {
|
|
|
|
|
|
+ if ((!org.springframework.http.HttpMethod.OPTIONS.matches(method))
|
|
|
|
+ && handler instanceof HandlerMethod) {
|
|
HandlerMethod handlerMethod = (HandlerMethod) handler;
|
|
HandlerMethod handlerMethod = (HandlerMethod) handler;
|
|
ApiId apiId = handlerMethod.getMethodAnnotation(ApiId.class);
|
|
ApiId apiId = handlerMethod.getMethodAnnotation(ApiId.class);
|
|
|
|
|