Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
ShopERP
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杜龙飞
ShopERP
Commits
be311504
Commit
be311504
authored
Jul 28, 2025
by
PC-20220610JUCQ\Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
<develop>:(ShopERP 端)<无> ApiGateWay 优化。
parent
01017ea9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
ShopERP.Ocelot.ApiGateWay/Program.cs
+1
-1
No files found.
ShopERP.Ocelot.ApiGateWay/Program.cs
View file @
be311504
...
...
@@ -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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment