1、在Feign微服务pom文件里面导入feign的依赖 org.springframework.cloud spring-cloud-starter-openfeign 2、在Feign微服务写Feign接口,指向被调用者微服务,添加@FeignClient注解//value=调用者微服务名称@FeignClient(value="leadnews-article")publicinterfaceIArticleClient{ //请求方式、路径 @PostMapping("/api/v1/channel/list") //自己的业务方法