|
|
@ -393,7 +393,7 @@ public class RouterHandler extends Handler {
|
|
|
|
|
|
|
|
|
|
|
|
// 检查是否为内部调用
|
|
|
|
// 检查是否为内部调用
|
|
|
|
private boolean isInternalCall(String servletPath, HttpServletResponse res, boolean[] isHandled) {
|
|
|
|
private boolean isInternalCall(String servletPath, HttpServletResponse res, boolean[] isHandled) {
|
|
|
|
if (servletPath.endsWith("_Internal")) {
|
|
|
|
if (servletPath.endsWith("/internal/")) {
|
|
|
|
handleError(res, isHandled, "微服务间内部接口调用,是不需要走网关的!", null);
|
|
|
|
handleError(res, isHandled, "微服务间内部接口调用,是不需要走网关的!", null);
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|