修复响应头信息为空的问题
This commit is contained in:
@@ -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()
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user