摘要: SpringCloud 应用间通信基于HTTP的Restful调用方式有两种,RestTemplate与Feign 1.RestTemplate是远程调用Http的工具,支持本地负载均衡,是对Ribbon的封装。 pom文件加入spring-boot-starter-web依赖 调用的url是服务名 阅读全文
posted @ 2019-12-23 22:44 苏大大的园子 阅读(1868) 评论(0) 推荐(0) 编辑