代码更新

This commit is contained in:
ludj
2023-01-29 22:30:33 +08:00
parent d0e531b733
commit f6559a8273
2 changed files with 2 additions and 1 deletions

View File

@@ -6,3 +6,4 @@
*/*.iml
/.gradle/
/target/*
/logPath_IS_UNDEFINED/

View File

@@ -123,7 +123,7 @@ public class LogAspect {
json.put("method", methodName);
json.put("params", getParameter(method, joinPoint.getArgs()));
json.put("request_ip", StringUtils.getIp(request));
json.put("time", 10);
json.put("time", System.currentTimeMillis() - currentTime.get());
json.put("username", getUsername());
json.put("address", StringUtils.getCityInfo(requestIp));
json.put("browser", StringUtils.getBrowser(request));