From 352226962652e4b16fee3e3472e5c9147a4883b3 Mon Sep 17 00:00:00 2001 From: tanghc Date: Mon, 16 Sep 2019 16:35:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E8=87=AA=E5=AE=9A=E4=B9=89=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E6=8B=89=E5=8F=96url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gitee/sop/gatewaycommon/gateway/route/GatewayRouteCache.java | 1 + 1 file changed, 1 insertion(+) diff --git a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/route/GatewayRouteCache.java b/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/route/GatewayRouteCache.java index 5589d7bc..3903f7d9 100644 --- a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/route/GatewayRouteCache.java +++ b/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/gateway/route/GatewayRouteCache.java @@ -69,6 +69,7 @@ public class GatewayRouteCache extends BaseRouteCache { routeDefinition.setId(name + version); routeDefinition.setName(name); routeDefinition.setVersion(version); + routeDefinition.setUri("lb://" + serviceRouteInfo.getServiceId()); routeDefinition.setOrder(Integer.MIN_VALUE); return Collections.singletonList(routeDefinition);