project-gateway.yaml 703 Bytes
spring:
  cloud:
    gateway:
      routes:
        - id: user
          uri: lb://user
          predicates:
            - Path=/user/**, /v1/team/**, /v1/user/**
        - id: order
          uri: lb://project-order
          predicates:
            - Path=/pea-order/**
        - id: gis
          uri: lb://project-gis
          predicates:
            - Path=/gis/**
        - id: district
          uri: lb://project-district
          predicates:
            - Path=/district/**
        - id: dispatch
          uri: lb://project-dispatch
          predicates:
            - Path=/dispatch/**

auth:
  path: /test/**,/user/**,/v1/**,/gis/** # 需要认证的路边列表,多个用逗号连接