springboot結合Feign,實現服務消費

一般服務消費者有這麼幾種,HttpClient、Feign、Ribbon。這裏我們介紹下Feign 服務器提供者 controller 這裏Controller裏面定義的方法就是服務提供者提供的接口API 服務消費者  pom.xml   <!-- 集成Feign -->         <dependency>             <groupId>org.springframework.c
相關文章
相關標籤/搜索