Browse Source

Merge remote-tracking branch 'remotes/origin/dev_tduck_mix' into develop

# Conflicts:
#	epmet-gateway/src/main/resources/bootstrap.yml
dev_shibei_match
jianjun 4 years ago
parent
commit
25beb60eec
  1. 3
      epmet-gateway/pom.xml
  2. 10
      epmet-gateway/src/main/resources/bootstrap.yml

3
epmet-gateway/pom.xml

@ -364,6 +364,9 @@
<!--宣传服务-->
<gateway.routes.epmet-openapi-adv-server.url>lb://epmet-openapi-adv-server</gateway.routes.epmet-openapi-adv-server.url>
<!--<gateway.routes.epmet-openapi-adv-server.url>http://localhost:8115</gateway.routes.epmet-openapi-adv-server.url>-->
<!--问卷服务-->
<!-- <gateway.routes.tduck-api.url>lb://tduck-api</gateway.routes.tduck-api.url>-->
<gateway.routes.tduck-api.url>http://localhost:8116</gateway.routes.tduck-api.url>
<!--钉钉 机器人地址-->
<dingTalk.robot.webHook>https://oapi.dingtalk.com/robot/send?access_token=e894e5690f9d6a527722974c71548ff6c0fe29bd956589a09e21b16442a35ed4</dingTalk.robot.webHook>
<dingTalk.robot.secret>SECfcc020bdc83bb17a2c00f39977b1fbc409ef4188c7beaea11c5caa90eeaf87fd</dingTalk.robot.secret>

10
epmet-gateway/src/main/resources/bootstrap.yml

@ -336,12 +336,20 @@ spring:
# 宣传服务
- id: epmet-openapi-adv-server
uri: @gateway.routes.epmet-openapi-adv-server.url@
order: 35
order: 36
predicates:
- Path=${server.servlet.context-path}/adv/**
filters:
- StripPrefix=1
- CpAuth=true
- id: tduck-api
uri: @gateway.routes.tduck-api.url@
order: 37
predicates:
- Path=${server.servlet.context-path}/tduck-api/**
filters:
- StripPrefix=1
- CpAuth=true
nacos:
discovery:
server-addr: @nacos.server-addr@

Loading…
Cancel
Save