pull/3/head
tanghc 5 years ago
parent 7468ce3524
commit bdf3334732
  1. 4
      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); routeRepository.add(targetRoute);
} }
public void refresh() {
this.routeRepository.refresh();
}
/** /**
* 构建路由id MD5 * 构建路由id MD5
* *

Loading…
Cancel
Save