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