Browse Source

【修改】修改tenant

zhuzhoutong 5 years ago
parent
commit
a6f252a2e2

+ 1 - 1
framework-gateway/src/main/java/com/micro/cloud/GatewayServiceApplication.java

@@ -14,7 +14,7 @@ import org.springframework.cloud.openfeign.EnableFeignClients;
 @Slf4j
 public class GatewayServiceApplication {
 
-    //http://localhost:8080/rest/v1/服务名/base/base/getById?id=1
+    //http://localhost:8080/rest/v1/服务名/tenant/tenant/getById?id=1
     public static void main(String[] args) {
         long start = System.currentTimeMillis();
         SpringApplication.run(GatewayServiceApplication.class, args);

+ 1 - 1
framework-gateway/src/main/java/com/micro/cloud/gateway/config/FilterConfiguration.java

@@ -37,7 +37,7 @@ public class FilterConfiguration extends ZuulProxyAutoConfiguration {
 
 	/**
 	 * 服务别名zuul.service
-	 * zuul.service={base: base-service,k2: 12}
+	 * zuul.service={tenant: tenant-service,k2: 12}
 	 */
 	@Setter
     @Getter