Update: 集成 Feign Client 和 Ribbon
This commit is contained in:
-1
@@ -4,7 +4,6 @@ import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
|
||||
public class ServiceProducerApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(ServiceProducerApplication.class, args);
|
||||
|
||||
@@ -8,4 +8,4 @@ spring:
|
||||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
defaultZone: http://localhost:8761/eureka
|
||||
defaultZone: http://localhost:8761/eureka/
|
||||
Reference in New Issue
Block a user