|
@@ -194,9 +194,9 @@ public class RequestLogHandlerInterceptor implements HandlerInterceptor, Request
|
|
|
log.info("请求体参数: {}", bodyStr);
|
|
|
RequestLogPo requestLogPo = REQUEST_LOG_PO_THREAD_LOCAL.get();
|
|
|
if (requestLogPo != null) {
|
|
|
- Map<String, String> requestParameters = objectMapper.readValue(requestLogPo.getRequestParameters(),
|
|
|
+ Map<String, Object> requestParameters = objectMapper.readValue(requestLogPo.getRequestParameters(),
|
|
|
TypeFactory.defaultInstance().constructMapType(Map.class, String.class, String.class));
|
|
|
- requestParameters.put("request_body", bodyStr);
|
|
|
+ requestParameters.put("request_body", body);
|
|
|
requestLogPo.setRequestParameters(objectMapper.writeValueAsString(requestParameters));
|
|
|
}
|
|
|
}
|