File tree Expand file tree Collapse file tree
src/Ocelot.Provider.Nacos Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ dotnet add package Ocelot.Provider.Nacos --version 1.1.0
4545
4646管理界面安装的话注意勾选 包括预览发行版,因为目前构建的是预览版
4747```
48- <PackageReference Include="Ocelot.Provider.Nacos" Version="1.2.0 " />
48+ <PackageReference Include="Ocelot.Provider.Nacos" Version="1.2.2 " />
4949```
5050或
5151```
52- dotnet add package Ocelot.Provider.Nacos --version 1.2.0
52+ dotnet add package Ocelot.Provider.Nacos --version 1.2.2
5353```
5454
5555### 使用方式
@@ -104,7 +104,7 @@ public void ConfigureServices(IServiceCollection services)
104104 "ServerAddresses" : [ " http://192.168.219.1:8848" ],
105105 "ServiceName" : " apigateway" ,
106106 "DefaultTimeOut" : 15000 ,
107- //自定义Namespace的Id
107+ //自定义Namespace的Id,默认的虽然可以注册发现,但是在nacos中不展示
108108 "Namespace" : " 2ae308e2-7e8a-4602-9d1c-56508a3e263c" ,
109109 "GroupName" : " DEFAULT_GROUP" ,
110110 "ClusterName" : " DEFAULT" ,
Original file line number Diff line number Diff line change 88 <PackageProjectUrl >https://github.com/softlgl/Ocelot.Provider.Nacos</PackageProjectUrl >
99 <Title >Ocelot.Provider.Nacos</Title >
1010 <Description >Repo for Nacos integration with Ocelot</Description >
11- <Version >1.2.0 </Version >
11+ <Version >1.2.2 </Version >
1212 </PropertyGroup >
1313
1414 <ItemGroup >
You can’t perform that action at this time.
0 commit comments