diff --git a/epmet-gateway/pom.xml b/epmet-gateway/pom.xml index 511b0bd1cc..2007872c20 100644 --- a/epmet-gateway/pom.xml +++ b/epmet-gateway/pom.xml @@ -182,6 +182,9 @@ lb://data-statistical-server + + lb://epmet-openapi-scan + @@ -262,6 +265,8 @@ lb://data-report-server lb://data-statistical-server + + lb://epmet-openapi-scan diff --git a/epmet-gateway/src/main/resources/bootstrap.yml b/epmet-gateway/src/main/resources/bootstrap.yml index f67bd8fdec..4d910e0f02 100644 --- a/epmet-gateway/src/main/resources/bootstrap.yml +++ b/epmet-gateway/src/main/resources/bootstrap.yml @@ -277,6 +277,15 @@ spring: filters: - StripPrefix=1 - CpAuth=true + #内容审核服务 + - id: epmet-openapi-scan + uri: @gateway.routes.epmet-openapi-scan.uri@ + order: 29 + predicates: + - Path=${server.servlet.context-path}/epmetscan/** + filters: + - StripPrefix=1 + - CpAuth=true nacos: discovery: server-addr: @nacos.server-addr@