zuul增加动态路由
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"properties": [
|
||||
{
|
||||
"name": "zlt.gateway.dynamicRoute.enabled",
|
||||
"description": "是否开启动态路由.",
|
||||
"type": "java.lang.Boolean",
|
||||
"defaultValue": false
|
||||
},
|
||||
{
|
||||
"name": "zlt.gateway.dynamicRoute.dataType",
|
||||
"description": "动态路由的数据类型.",
|
||||
"type": "java.lang.String",
|
||||
"defaultValue": "nacos"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -26,10 +26,6 @@ spring:
|
||||
groupId: DEFAULT_GROUP
|
||||
rule-type: gw-api-group
|
||||
|
||||
security:
|
||||
sessions: ALWAYS
|
||||
|
||||
|
||||
zlt:
|
||||
oauth2:
|
||||
token:
|
||||
@@ -39,7 +35,6 @@ zlt:
|
||||
ignore:
|
||||
# 忽略认证的地址
|
||||
httpUrls: >
|
||||
/api-user/test,
|
||||
/api-uaa/oauth/**,
|
||||
/api-uaa/validata/**,
|
||||
/api-uaa/css/**,
|
||||
|
||||
Reference in New Issue
Block a user