网关修改,添加feeapi和opapi

master
ZR20090193-陈敬勇 8 months ago
parent c80ca26337
commit 40144077be

@ -10,7 +10,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="IdentityServer4.AccessTokenValidation" Version="3.0.1" /> <PackageReference Include="IdentityServer4.AccessTokenValidation" Version="3.0.1" />
<PackageReference Include="Ocelot" Version="18.0.0" /> <PackageReference Include="Ocelot" Version="18.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

@ -41,7 +41,7 @@ if (!policyName.IsNullOrEmpty())
// if (app.Environment.IsDevelopment()) // if (app.Environment.IsDevelopment())
// { // {
var apis = new List<string> { "WmsMainAPI", "WmsAdminAPI","TestApi" }; var apis = new List<string> { "WmsMainAPI", "WmsAdminAPI", "WmsOpAPI", "WmsFeeAPI", "TestApi" };
app app
.UseSwagger() .UseSwagger()

Loading…
Cancel
Save