<develop>:(ShopERP 端)<无> ApiGateWay 优化。

parent 01017ea9
......@@ -38,7 +38,7 @@ namespace ShopERP.Ocelot.ApiGateWay
app.UseRouting();
//配置双路由: API 走 Ocelot ,其他请求正常走 .NET8 流程
//配置双路由: API (/T1) 走 Ocelot ,其他请求正常走 .NET8 流程
app.MapWhen(context=>context.Request.Path.StartsWithSegments("/T1"),
subApp=>subApp.UseOcelot().GetAwaiter().GetResult());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment