|
@@ -64,7 +64,7 @@ public class RequestSignatureInterceptor implements HandlerInterceptor {
|
|
|
|
|
|
//登录请求不拦截
|
|
//登录请求不拦截
|
|
String path = request.getServletPath();
|
|
String path = request.getServletPath();
|
|
- if (ignorePaths.contains(path) && request.getMethod().equals(HttpMethod.POST)) {
|
|
|
|
|
|
+ if (ignorePaths.contains(path) && HttpMethod.POST.matches(request.getMethod())) {
|
|
logger.info("url: {} do not intercepted!");
|
|
logger.info("url: {} do not intercepted!");
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|