From 9ab9c79a8c8ec2b8e5726fda72587953513ac098 Mon Sep 17 00:00:00 2001 From: tanghc Date: Mon, 13 May 2019 12:34:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dcloud=20gateway=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gateway/configuration/BaseGatewayConfiguration.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/configuration/BaseGatewayConfiguration.java b/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/configuration/BaseGatewayConfiguration.java index 95236f02..dee3c08f 100644 --- a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/configuration/BaseGatewayConfiguration.java +++ b/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/configuration/BaseGatewayConfiguration.java @@ -31,7 +31,8 @@ import java.util.List; public class BaseGatewayConfiguration extends AbstractConfiguration { public static boolean USE_GATEWAY; - static { + + public BaseGatewayConfiguration() { USE_GATEWAY = true; }