@@ -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