1、引入依赖
<!--远程调用feign--> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId> </dependency>
2、代理接口中定义代理接口包 feign
最后在soringboot启动类中添加 @EnabelFeignClient注解
标签:feign,openfeign,spring,代理,接口,cloud From: https://www.cnblogs.com/xiaoyang-yds/p/17226416.html