Joburgess 5 年之前
父节点
当前提交
a69b2e532c
共有 1 个文件被更改,包括 7 次插入2 次删除
  1. 7 2
      edu-zuul/src/main/resources/application.yml

+ 7 - 2
edu-zuul/src/main/resources/application.yml

@@ -53,7 +53,12 @@ zuul:
       serviceId: user-server
       #url: http://localhost:8001/
       ##加上下面参数,可将header信息传递至下游
-      #sensitiveHeaders:
+    api-student:
+      path: /api-student/**
+      serviceId: student-server
+    api-teacher:
+      path: /api-teacher/**
+      serviceId: teacher-server
     api-task:
       ### 以 /api-auth/访问转发到会员服务
       path: /api-task/**
@@ -107,4 +112,4 @@ management:
         include: "*"
   endpoint:
     health:
-      show-details: ALWAYS
+      show-details: ALWAYS