project-gateway.yaml 619 Bytes
spring:
  cloud:
    gateway:
      routes:
        - id: user
          uri: lb://project-user
          predicates:
            - Path=/pea-user/**
        - id: order
          uri: lb://project-order
          predicates:
            - Path=/pea-order/**
        - id: gis
          uri: lb://project-gis
          predicates:
            - Path=/gis/**
        - id: dispatch
          uri: lb://project-dispatch
          predicates:
            - Path=/pea-dispatch/**

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