feat 新增服务

This commit is contained in:
2024-04-17 15:49:25 +08:00
parent 3e4c5cc86b
commit 81c4fdabbc
2 changed files with 25 additions and 9 deletions

View File

@@ -12,6 +12,8 @@
"Canteen",
"Scheduled",
"User",
"Sys"
"Sys",
"Visitor",
"Message"
]
}

View File

@@ -35,10 +35,6 @@
},
{
"UpstreamPathTemplate": "/api/user/{url}",
"UpstreamHttpMethod": [
"Get",
"Post"
],
"DownstreamPathTemplate": "/api/{url}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
@@ -50,10 +46,6 @@
},
{
"UpstreamPathTemplate": "/api/basic/{url}",
"UpstreamHttpMethod": [
"Get",
"Post"
],
"DownstreamPathTemplate": "/api/{url}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
@@ -85,6 +77,28 @@
}
]
},
{
"UpstreamPathTemplate": "/api/visitor/{url}",
"DownstreamPathTemplate": "/api/{url}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "192.168.199.30",
"Port": 31008
}
]
},
{
"UpstreamPathTemplate": "/api/message/{url}",
"DownstreamPathTemplate": "/api/{url}",
"DownstreamScheme": "http",
"DownstreamHostAndPorts": [
{
"Host": "192.168.199.30",
"Port": 31009
}
]
},
{
"UpstreamPathTemplate": "/{url}/swagger/v1/swagger.json",
"DownstreamPathTemplate": "/{url}/swagger/v1/swagger.json",