tanghc 5 years ago
parent cbe0250f75
commit 59bca11ed6
  1. 3
      sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/filter/ParameterFormatterFilter.java

@ -36,9 +36,6 @@ public class ParameterFormatterFilter implements GlobalFilter, Ordered {
, apiParam , apiParam
, sopParameterFormatter::format , sopParameterFormatter::format
, httpHeaders -> httpHeaders.set(ParamNames.HEADER_VERSION_NAME, apiParam.fetchVersion())); , httpHeaders -> httpHeaders.set(ParamNames.HEADER_VERSION_NAME, apiParam.fetchVersion()));
if (formatExchange == null) {
return chain.filter(exchange);
}
return chain.filter(formatExchange); return chain.filter(formatExchange);
} }
return chain.filter(exchange); return chain.filter(exchange);

Loading…
Cancel
Save