diff --git a/src/main/java/com/thinkgem/jeesite/modules/sys/utils/LogUtils.java b/src/main/java/com/thinkgem/jeesite/modules/sys/utils/LogUtils.java index acbc5c295f4d7ce60fbf56c6bdab813d16f68382..385f1ac64ab80b5651b9e330878c6a0407290e7b 100644 --- a/src/main/java/com/thinkgem/jeesite/modules/sys/utils/LogUtils.java +++ b/src/main/java/com/thinkgem/jeesite/modules/sys/utils/LogUtils.java @@ -58,6 +58,7 @@ public class LogUtils { log.setRequestUri(request.getRequestURI()); log.setParams(request.getParameterMap()); log.setMethod(request.getMethod()); + log.preInsert(); // 异步保存日志 new SaveLogThread(log, handler, ex).start(); } @@ -98,7 +99,6 @@ public class LogUtils { return; } // 保存日志信息 - log.preInsert(); logDao.insert(log); } }