摘要: 1.依赖 <!--引入open feign依赖--> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> </depende 阅读全文
posted @ 2020-08-09 12:55 后端AI实验室 阅读(226) 评论(0) 推荐(0)
摘要: 1.依赖 consul依赖中包含ribbon依赖无需额外引入 2.基于discovery Client形式调用 @RequestMapping("/user/showProductMsg") public List<ServiceInstance> showProductMsg() { //disc 阅读全文
posted @ 2020-08-09 12:14 后端AI实验室 阅读(321) 评论(0) 推荐(0)