master
冯凯 2023-11-28 14:16:04 +08:00
parent 3609c6ecf2
commit 22490ee3fb
1 changed files with 2 additions and 2 deletions

View File

@ -62,8 +62,8 @@ public class LogAspect {
ServletRequestAttributes attributes = (ServletRequestAttributes)RequestContextHolder.getRequestAttributes();
HttpServletRequest request = attributes.getRequest();
log.info("========================================== Start ==========================================");
log.info("URL:{}",request.getRequestURL().toString());
log.info("method:{}",request.getMethod());
log.info("请求URL:{}",request.getRequestURL().toString());
log.info("请求方法method:{}",request.getMethod());
log.info("请求ip是:",request.getRemoteAddr());
TIME_THREADLOCAL.set(System.currentTimeMillis());
}