| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- # 安全配置
- security:
- # 不校验白名单
- ignore:
- whites:
- - /auth/code
- - /auth/logout
- - /auth/login
- - /auth/binding/*
- - /auth/register
- - /auth/tenant/list
- - /resource/sms/code
- - /resource/sse/close
- - /*/v3/api-docs
- - /*/error
- - /csrf
- - /warm-flow-ui/**
- spring:
- cloud:
- # 网关配置
- gateway:
- # 打印请求日志(自定义)
- requestLog: true
- server:
- webflux:
- discovery:
- locator:
- lowerCaseServiceId: true
- enabled: true
- routes:
- # 认证中心
- - id: ruoyi-auth
- uri: lb://ruoyi-auth
- predicates:
- - Path=/auth/**
- filters:
- - StripPrefix=1
- # 代码生成
- - id: ruoyi-gen
- uri: lb://ruoyi-gen
- predicates:
- - Path=/tool/**
- filters:
- - StripPrefix=1
- # 系统模块
- - id: ruoyi-system
- uri: lb://ruoyi-system
- predicates:
- - Path=/system/**,/monitor/**
- filters:
- - StripPrefix=1
- # 资源服务
- - id: ruoyi-resource
- uri: lb://ruoyi-resource
- predicates:
- - Path=/resource/**
- filters:
- - StripPrefix=1
- # workflow服务
- - id: ruoyi-workflow
- uri: lb://ruoyi-workflow
- predicates:
- - Path=/workflow/**
- filters:
- - StripPrefix=1
- # warm-flow服务
- - id: warm-flow
- uri: lb://ruoyi-workflow
- predicates:
- - Path=/warm-flow-ui/**,/warm-flow/**
- # 服务管理
- - id: yingpaipay-service
- uri: lb://yingpaipay-service
- predicates:
- - Path=/service/**
- filters:
- - StripPrefix=1
- # 档案管理
- - id: yingpaipay-archieves
- uri: lb://yingpaipay-archieves
- predicates:
- - Path=/archieves/**
- filters:
- - StripPrefix=1
- # 履约者管理
- - id: yingpaipay-fulfiller
- uri: lb://yingpaipay-fulfiller
- predicates:
- - Path=/fulfiller/**
- filters:
- - StripPrefix=1
- # 演示服务
- - id: ruoyi-demo
- uri: lb://ruoyi-demo
- predicates:
- - Path=/demo/**
- filters:
- - StripPrefix=1
- # MQ演示服务
- - id: ruoyi-test-mq
- uri: lb://ruoyi-test-mq
- predicates:
- - Path=/test-mq/**
- filters:
- - StripPrefix=1
|