添加opapi feeapi 网关路由

master
ZR20090193-陈敬勇 7 months ago
parent b4dd1e72c0
commit 9bec2a4571

@ -33,7 +33,8 @@
"LoadBalancerOptions": {
"Type": "RoundRobin"
}
},{
},
{
"DownstreamPathTemplate": "/WmsAdminAPI/swagger.json",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
@ -65,6 +66,72 @@
"LoadBalancerOptions": {
"Type": "RoundRobin"
}
},
{
"DownstreamPathTemplate": "/WmsOpAPI/swagger.json",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 3002
}
],
"UpstreamPathTemplate": "/WmsOpAPI/swagger.json",
"UpstreamHttpMethod": [
"Get",
"Post"
]
},
{
"DownstreamPathTemplate": "/opApi/{url}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 3002
}
],
"UpstreamPathTemplate": "/opApi/{url}",
"UpstreamHttpMethod": [
"Get",
"Post"
],
"LoadBalancerOptions": {
"Type": "RoundRobin"
}
},
{
"DownstreamPathTemplate": "/WmsFeeAPI/swagger.json",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 3003
}
],
"UpstreamPathTemplate": "/WmsFeeAPI/swagger.json",
"UpstreamHttpMethod": [
"Get",
"Post"
]
},
{
"DownstreamPathTemplate": "/feeApi/{url}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 3003
}
],
"UpstreamPathTemplate": "/feeApi/{url}",
"UpstreamHttpMethod": [
"Get",
"Post"
],
"LoadBalancerOptions": {
"Type": "RoundRobin"
}
}
],
"GlobalConfiguration": {

Loading…
Cancel
Save