Commit 55819bd19cc8a3d7b30d3d6bf20fd1566be2f474

Authored by 孙宁海
1 parent 6709d967

创新创业路由配置

Showing 1 changed file with 12 additions and 0 deletions
gateway.yml
@@ -29,6 +29,10 @@ zuul: @@ -29,6 +29,10 @@ zuul:
29 path: /class-service/** 29 path: /class-service/**
30 #url: http://class-service:16200 30 #url: http://class-service:16200
31 serviceId: class-service 31 serviceId: class-service
  32 + cxcy:
  33 + path: /cxcy/**
  34 + #url: http://cxcy-service:16300
  35 + serviceId: cxcy-service
32 36
33 hystrix: 37 hystrix:
34 command: 38 command:
@@ -104,6 +108,10 @@ zuul: @@ -104,6 +108,10 @@ zuul:
104 classes: 108 classes:
105 #url: http://class-service:16200 109 #url: http://class-service:16200
106 serviceId: class-service 110 serviceId: class-service
  111 + cxcy:
  112 + path: /cxcy/**
  113 + #url: http://cxcy-service:16300
  114 + serviceId: cxcy-service
107 115
108 hystrix: 116 hystrix:
109 command: 117 command:
@@ -172,6 +180,10 @@ zuul: @@ -172,6 +180,10 @@ zuul:
172 classes: 180 classes:
173 #url: http://class-service:16200 181 #url: http://class-service:16200
174 serviceId: class-service 182 serviceId: class-service
  183 + cxcy:
  184 + path: /cxcy/**
  185 + #url: http://cxcy-service:16300
  186 + serviceId: cxcy-service
175 187
176 hystrix: 188 hystrix:
177 command: 189 command: