From bdf33347321723d87bd32623271aa99a55d59f9c Mon Sep 17 00:00:00 2001 From: tanghc Date: Thu, 20 Aug 2020 14:23:36 +0800 Subject: [PATCH] 4.0.3 --- .../sop/gatewaycommon/gateway/route/GatewayRouteCache.java | 4 ++++ 1 file changed, 4 insertions(+) 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 abd7ecaa..068de786 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 @@ -64,6 +64,10 @@ public class GatewayRouteCache implements RouteLoader { routeRepository.add(targetRoute); } + public void refresh() { + this.routeRepository.refresh(); + } + /** * 构建路由id MD5 *