From 59bca11ed684be56eca604760d1078d4b9afd56d Mon Sep 17 00:00:00 2001 From: tanghc Date: Fri, 16 Aug 2019 15:12:34 +0800 Subject: [PATCH] 1.15.2 --- .../gatewaycommon/gateway/filter/ParameterFormatterFilter.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/filter/ParameterFormatterFilter.java b/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/filter/ParameterFormatterFilter.java index d015662b..6d862fbf 100644 --- a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/filter/ParameterFormatterFilter.java +++ b/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 , sopParameterFormatter::format , httpHeaders -> httpHeaders.set(ParamNames.HEADER_VERSION_NAME, apiParam.fetchVersion())); - if (formatExchange == null) { - return chain.filter(exchange); - } return chain.filter(formatExchange); } return chain.filter(exchange);