mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-26 17:21:53 +08:00
【修复】ApiAccessLogInterceptor 处理 request body 为 "" 空串的情况
This commit is contained in:
parent
29746d1459
commit
88ac5be882
@ -43,7 +43,7 @@ public class ApiAccessLogInterceptor implements HandlerInterceptor {
|
|||||||
log.info("[preHandle][开始请求 URL({}) 无参数]", request.getRequestURI());
|
log.info("[preHandle][开始请求 URL({}) 无参数]", request.getRequestURI());
|
||||||
} else {
|
} else {
|
||||||
log.info("[preHandle][开始请求 URL({}) 参数({})]", request.getRequestURI(),
|
log.info("[preHandle][开始请求 URL({}) 参数({})]", request.getRequestURI(),
|
||||||
StrUtil.nullToDefault(requestBody, queryString.toString()));
|
StrUtil.blankToDefault(requestBody, queryString.toString()));
|
||||||
}
|
}
|
||||||
// 计时
|
// 计时
|
||||||
StopWatch stopWatch = new StopWatch();
|
StopWatch stopWatch = new StopWatch();
|
||||||
|
Loading…
Reference in New Issue
Block a user