摘要: 实现远程调用的方法,以前用httpclient,现在用restTemplate 1. 第一种方式RestTemplate RestTemplate t = new RestTemplate(); String resp = t.getForObject("http://localhost:8081/ 阅读全文
posted @ 2020-04-09 22:35 haohao1234 阅读(445) 评论(0) 推荐(0) 编辑