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 29 path: /class-service/**
30 30 #url: http://class-service:16200
31 31 serviceId: class-service
  32 + cxcy:
  33 + path: /cxcy/**
  34 + #url: http://cxcy-service:16300
  35 + serviceId: cxcy-service
32 36  
33 37 hystrix:
34 38 command:
... ... @@ -104,6 +108,10 @@ zuul:
104 108 classes:
105 109 #url: http://class-service:16200
106 110 serviceId: class-service
  111 + cxcy:
  112 + path: /cxcy/**
  113 + #url: http://cxcy-service:16300
  114 + serviceId: cxcy-service
107 115  
108 116 hystrix:
109 117 command:
... ... @@ -172,6 +180,10 @@ zuul:
172 180 classes:
173 181 #url: http://class-service:16200
174 182 serviceId: class-service
  183 + cxcy:
  184 + path: /cxcy/**
  185 + #url: http://cxcy-service:16300
  186 + serviceId: cxcy-service
175 187  
176 188 hystrix:
177 189 command:
... ...