update - 增加日志
This commit is contained in:
parent
80d68bf482
commit
49b6cb7b06
@ -46,14 +46,14 @@ public class RequestHeaderContextInterceptor implements HandlerInterceptor {
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
log.info("request uri : {}", request.getRequestURI());
|
log.info("request uri 1 : {}", request.getRequestURI());
|
||||||
throw new WorkflowEngineException(CLIENT_VERSION_SUPPORT, serviceVersion);
|
throw new WorkflowEngineException(CLIENT_VERSION_SUPPORT, serviceVersion);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 仅 feignApi 才需要检查版本
|
// 仅 feignApi 才需要检查版本
|
||||||
if (!request.getRequestURI().contains("/web/") && !request.getRequestURI().contains("checkDeath")
|
if (!request.getRequestURI().contains("/web/") && !request.getRequestURI().contains("checkDeath")
|
||||||
&& !StringUtils.hasText(request.getHeader(HEADER_HTTP_CLIENT))) {
|
&& !StringUtils.hasText(request.getHeader(HEADER_HTTP_CLIENT))) {
|
||||||
log.info("request uri : {}", request.getRequestURI());
|
log.info("request uri 2 : {}", request.getRequestURI());
|
||||||
throw new WorkflowEngineException(CLIENT_VERSION_SUPPORT, serviceVersion);
|
throw new WorkflowEngineException(CLIENT_VERSION_SUPPORT, serviceVersion);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user