|
|
@@ -114,7 +114,9 @@ public class HaipHttpUtils {
|
|
|
HttpHeaders headers = getHeader();
|
|
|
// 发送请求《body请求》
|
|
|
HttpEntity<Object> httpEntity = new HttpEntity<>(params, headers);
|
|
|
- ResponseEntity<JSONObject> responseEntity = restTemplate.exchange(companyLink.getLinkIp() + requestUrl, HttpMethod.POST, httpEntity, JSONObject.class);
|
|
|
+ //TODO 原来是这样的调用需要改下面那样
|
|
|
+ //ResponseEntity<JSONObject> responseEntity = restTemplate.exchange(companyLink.getLinkIp() + requestUrl, HttpMethod.POST, httpEntity, JSONObject.class);
|
|
|
+ ResponseEntity<JSONObject> responseEntity = restTemplate.exchange(requestUrl, HttpMethod.POST, httpEntity, JSONObject.class);
|
|
|
return responseEntity.getBody();
|
|
|
}
|
|
|
|