增加构建通知
This commit is contained in:
parent
06d4c799b2
commit
bbcc11b511
@ -39,8 +39,6 @@ public class HttpRequestNodeDelegate extends BaseNodeDelegate<HttpRequestInputMa
|
|||||||
long startTime = System.currentTimeMillis();
|
long startTime = System.currentTimeMillis();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
logInfo(String.format("开始HTTP请求: %s %s (超时: %dms)",
|
|
||||||
input.getMethod(), input.getUrl(), input.getTimeout()));
|
|
||||||
|
|
||||||
// 1. 创建专属的RestTemplate,使用节点配置的超时时间
|
// 1. 创建专属的RestTemplate,使用节点配置的超时时间
|
||||||
RestTemplate restTemplate = createRestTemplate(input.getTimeout());
|
RestTemplate restTemplate = createRestTemplate(input.getTimeout());
|
||||||
@ -52,7 +50,6 @@ public class HttpRequestNodeDelegate extends BaseNodeDelegate<HttpRequestInputMa
|
|||||||
// 3. 构建完整URL(带查询参数)
|
// 3. 构建完整URL(带查询参数)
|
||||||
String fullUrl = buildUrl(input.getUrl(), input.getQueryParamsAsMap());
|
String fullUrl = buildUrl(input.getUrl(), input.getQueryParamsAsMap());
|
||||||
|
|
||||||
logInfo(String.format("请求URL: %s", fullUrl));
|
|
||||||
if (input.getBody() != null) {
|
if (input.getBody() != null) {
|
||||||
logInfo(String.format("请求体: %s", JsonUtils.toJson(input.getBody())));
|
logInfo(String.format("请求体: %s", JsonUtils.toJson(input.getBody())));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user