HttpMessageConvert messageConvert = HttpMessageFactory.getMessageConvert(request);
MultiValueMap<String, String> params = messageConvert.getParams();
// get请求参数需要做处理
UriComponentsBuilder fromHttpUrl = UriComponentsBuilder.fromHttpUrl(requestPath);
URI requestUri = fromHttpUrl.queryParams(params).build().encode().toUri();
ResponseEntity<String> responseEntity = restTemplate.getForEntity(requestUri, String.class);
body = responseEntity.getBody();
将get请求处理一下就好了