feat 新增服务
This commit is contained in:
@@ -12,6 +12,8 @@
|
|||||||
"Canteen",
|
"Canteen",
|
||||||
"Scheduled",
|
"Scheduled",
|
||||||
"User",
|
"User",
|
||||||
"Sys"
|
"Sys",
|
||||||
|
"Visitor",
|
||||||
|
"Message"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,10 +35,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"UpstreamPathTemplate": "/api/user/{url}",
|
"UpstreamPathTemplate": "/api/user/{url}",
|
||||||
"UpstreamHttpMethod": [
|
|
||||||
"Get",
|
|
||||||
"Post"
|
|
||||||
],
|
|
||||||
"DownstreamPathTemplate": "/api/{url}",
|
"DownstreamPathTemplate": "/api/{url}",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"DownstreamHostAndPorts": [
|
||||||
@@ -50,10 +46,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"UpstreamPathTemplate": "/api/basic/{url}",
|
"UpstreamPathTemplate": "/api/basic/{url}",
|
||||||
"UpstreamHttpMethod": [
|
|
||||||
"Get",
|
|
||||||
"Post"
|
|
||||||
],
|
|
||||||
"DownstreamPathTemplate": "/api/{url}",
|
"DownstreamPathTemplate": "/api/{url}",
|
||||||
"DownstreamScheme": "http",
|
"DownstreamScheme": "http",
|
||||||
"DownstreamHostAndPorts": [
|
"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",
|
"UpstreamPathTemplate": "/{url}/swagger/v1/swagger.json",
|
||||||
"DownstreamPathTemplate": "/{url}/swagger/v1/swagger.json",
|
"DownstreamPathTemplate": "/{url}/swagger/v1/swagger.json",
|
||||||
|
|||||||
Reference in New Issue
Block a user