Commit b08c8055b51cc2c0a01d39d94e74b48f704d887a

Authored by 多国蒙
1 parent 0fd03790

修改gateway

Showing 1 changed file with 9 additions and 0 deletions
gateway.yml
@@ -70,6 +70,9 @@ zuul: @@ -70,6 +70,9 @@ zuul:
70 cloud: 70 cloud:
71 path: /cloud-service/** 71 path: /cloud-service/**
72 serviceId: cloud-service 72 serviceId: cloud-service
  73 + training:
  74 + path: /training-service/**
  75 + serviceId: training-service
73 76
74 hystrix: 77 hystrix:
75 command: 78 command:
@@ -178,6 +181,9 @@ zuul: @@ -178,6 +181,9 @@ zuul:
178 path: /order/** 181 path: /order/**
179 #url: http://cxcy-service:16300 182 #url: http://cxcy-service:16300
180 serviceId: order-service 183 serviceId: order-service
  184 + training:
  185 + path: /training-service/**
  186 + serviceId: training-service
181 hystrix: 187 hystrix:
182 command: 188 command:
183 default: 189 default:
@@ -287,6 +293,9 @@ zuul: @@ -287,6 +293,9 @@ zuul:
287 path: /order/** 293 path: /order/**
288 #url: http://cxcy-service:16300 294 #url: http://cxcy-service:16300
289 serviceId: order-service 295 serviceId: order-service
  296 + training:
  297 + path: /training-service/**
  298 + serviceId: training-service
290 299
291 hystrix: 300 hystrix:
292 command: 301 command: