修复响应头信息为空的问题

This commit is contained in:
2026-05-21 16:27:44 +08:00
parent a177ab15c1
commit e15e2fe155

View File

@@ -123,6 +123,7 @@ public class HttpLogFilter extends BaseFilter implements Ordered, BaseParams {
sw.stop(); sw.stop();
// 保存日志 // 保存日志
JSONObject responseLog = JSONObject.of( JSONObject responseLog = JSONObject.of(
"headers", getResponseHeaders(response),
"responseBody", "ignore", "responseBody", "ignore",
"execTime", sw.getTotalTimeMillis() "execTime", sw.getTotalTimeMillis()
); );