未验证 提交 e356da4b 编写于 作者: B Brandon Fergerson 提交者: GitHub

#4907 - Duplicate Spring MVC endpoint fix (#5084)

上级 ce2469db
...@@ -84,9 +84,9 @@ public abstract class AbstractMethodInterceptor implements InstanceMethodsAround ...@@ -84,9 +84,9 @@ public abstract class AbstractMethodInterceptor implements InstanceMethodsAround
if (requestURL == null) { if (requestURL == null) {
requestURL = getRequestURL(method); requestURL = getRequestURL(method);
pathMappingCache.addPathMapping(method, requestURL); pathMappingCache.addPathMapping(method, requestURL);
requestURL = getAcceptedMethodTypes(method) + pathMappingCache.findPathMapping(method); requestURL = pathMappingCache.findPathMapping(method);
} }
operationName = requestURL; operationName = getAcceptedMethodTypes(method) + requestURL;
} }
HttpServletRequest request = (HttpServletRequest) ContextManager.getRuntimeContext() HttpServletRequest request = (HttpServletRequest) ContextManager.getRuntimeContext()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册