parent
c14be59329
commit
749c43bd1d
37 changed files with 167 additions and 81 deletions
Binary file not shown.
@ -1,32 +0,0 @@ |
||||
spring: |
||||
cloud: |
||||
gateway: |
||||
routes: |
||||
# - id: test_route |
||||
# uri: https://www.baidu.com |
||||
# predicates: |
||||
# - Query=url,baidu |
||||
# |
||||
# - id: qq_route |
||||
# uri: https://www.qq.com |
||||
# predicates: |
||||
# - Query=url,qq//localhost:8080/api |
||||
# |
||||
- id: crms_route |
||||
uri: http://localhost:8000/dq-financial-crms |
||||
predicates: |
||||
- Path=/api-crms/** |
||||
filters: |
||||
- RewritePath=/api-crms/(?<segment>.*), /$\{segment} |
||||
- id: hrms_route |
||||
uri: http://localhost:7000/dq-financial-hrms |
||||
predicates: |
||||
- Path=/api-hrms/** |
||||
filters: |
||||
- RewritePath=/api-hrms/(?<segment>.*), /$\{segment} |
||||
- id: hrms_auth_route |
||||
uri: http://localhost:9000/dq-financial-hrms-auth #lb://dq-financial-hrms-auth |
||||
predicates: |
||||
- Path=/apiHrmsAuth/** |
||||
filters: |
||||
- RewritePath=/apiHrmsAuth/(?<segment>.*), /$\{segment} |
@ -1,19 +0,0 @@ |
||||
#服务名称 |
||||
spring.application.name=dq-govern-gateway |
||||
#配置中心地址 |
||||
spring.cloud.nacos.config.server-addr=192.168.31.142:8848 |
||||
spring.cloud.nacos.config.namespace=772e2607-b929-4246-9671-ee5a36d74d25 |
||||
|
||||
spring.cloud.nacos.config.ext-config[0].data-id=dq-govern-gateway.yml |
||||
spring.cloud.nacos.config.ext-config[0].group=dev |
||||
spring.cloud.nacos.config.ext-config[0].refresh=true |
||||
|
||||
spring.redis.host=192.168.232.128 |
||||
spring.redis.port=6379 |
||||
spring.redis.password= |
||||
spring.redis.database=0 |
||||
spring.redis.timeout=30000 |
||||
spring.redis.jedis.pool.max-active=8 |
||||
spring.redis.jedis.pool.max-wait=-1 |
||||
spring.redis.jedis.pool.max-idle=8 |
||||
spring.redis.jedis.pool.min-idle=0 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +0,0 @@ |
||||
jwt.ignoreUrlList=/apiHrmsAuth/hrms/auth/userlogin/getBackPwd,\ |
||||
/apiHrmsAuth/hrms/auth/userlogin/login,\ |
||||
/apiHrmsAuth/hrms/auth/userlogin/verifyMobile,\ |
||||
/api-crms/sweagger-ui.html |
Loading…
Reference in new issue