From 99a9c0b197fcc4bcb16e2d9566682377e5f661b6 Mon Sep 17 00:00:00 2001 From: Mr Li Date: Mon, 20 Jul 2020 17:56:55 +0800 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0a9f629..b5b5eec 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ public void ConfigureServices(IServiceCollection services) { "Routes": [ { + // 用于服务发现的名称,也就是注册到nacos上的名称 "ServiceName": "productservice", "DownstreamScheme": "http", "DownstreamPathTemplate": "/productapi/{everything}", @@ -59,6 +60,7 @@ public void ConfigureServices(IServiceCollection services) "DefaultTimeOut": 15000, "Namespace": "", "ListenInterval": 1000, + // 网关服务名称 "ServiceName": "apigateway" } ```