创建服务消费者
1、pom文件添加eureka的起步依赖
2、配置文件添加eureka.client相关配置
3、启动类注解@EnableDiscoveryClient
启动类:
启动后。
创建服务消费者
1、pom文件添加eureka的起步依赖
2、配置文件添加eureka.client相关配置
3、启动类注解@EnableDiscoveryClient
启动类:
启动后。
转载于:https://www.cnblogs.com/1-Admin/p/8729122.html