Explorar el Código

路由配置统一为/api/开头

gaodm hace 6 años
padre
commit
31b044d7f8

+ 1 - 1
config-server/src/main/resources/shared/gateway-service-dev.yml

@@ -26,7 +26,7 @@ spring:
         - id: user-service
           uri: lb://user-service
           predicates:
-         - Path=/api/user/**
+          - Path=/api/user/**
           filters:
           - SwaggerHeaderFilter
           - StripPrefix=2