本文主要介绍如何在springcloud中通过openFeign实现微服务接口远程调用。本例使用的springcloud版本为:2021.0.3,springboot版本为:2.6.8。1、创建消费端项目打开idea新建项目,选择maven,创建springboot项目consumer-openfeign-order。2、pom文件配置在项目pom中引入如下依赖:<dependencies><dependency><groupId>org.springframework.boot</groupId><artifactId>...