添加远程调用entity日志
This commit is contained in:
parent
7bb0740694
commit
18631af95c
|
|
@ -86,6 +86,7 @@ public class RestTemplateUtil {
|
|||
UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(url);
|
||||
URI uri = builder.queryParams(params).build().encode().toUri();
|
||||
logger.info("远程接口调用地址: " + url);
|
||||
logger.info("entity: " + entity);
|
||||
ResponseEntity<String> resp = customRestTemplate.exchange(uri, method, entity, String.class);
|
||||
return handleResult(resp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue