|
|
@@ -26,7 +26,7 @@ public class InsCrawlerOrderComponents {
|
|
|
HttpEntity<T> yaQuoteInfoVoHttpEntity = new HttpEntity<>(requestBody, httpHeaders);
|
|
|
|
|
|
String request = JSON.toJSONString(requestBody);
|
|
|
- log.info("---------> URL: {} \n---------> 请求参数: {}", url, request);
|
|
|
+ log.info("---------> {} \n\t---------> URL: {} \n\t---------> 请求参数: {}", message, url, request);
|
|
|
|
|
|
ResponseEntity<B> stringResponseEntity = restTemplate.postForEntity(url, yaQuoteInfoVoHttpEntity, responseType);
|
|
|
B body = stringResponseEntity.getBody();
|
|
|
@@ -35,7 +35,7 @@ public class InsCrawlerOrderComponents {
|
|
|
}
|
|
|
|
|
|
String response = JSON.toJSONString(body);
|
|
|
- log.info("---------> 响应参数:{}", response);
|
|
|
+ log.info("---------> {} \n\t---------> 响应参数:{}", message, response);
|
|
|
return body;
|
|
|
}
|
|
|
|