代码更新
This commit is contained in:
1
lms/nladmin-system/.gitignore
vendored
1
lms/nladmin-system/.gitignore
vendored
@@ -6,3 +6,4 @@
|
|||||||
*/*.iml
|
*/*.iml
|
||||||
/.gradle/
|
/.gradle/
|
||||||
/target/*
|
/target/*
|
||||||
|
/logPath_IS_UNDEFINED/
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ public class LogAspect {
|
|||||||
json.put("method", methodName);
|
json.put("method", methodName);
|
||||||
json.put("params", getParameter(method, joinPoint.getArgs()));
|
json.put("params", getParameter(method, joinPoint.getArgs()));
|
||||||
json.put("request_ip", StringUtils.getIp(request));
|
json.put("request_ip", StringUtils.getIp(request));
|
||||||
json.put("time", 10);
|
json.put("time", System.currentTimeMillis() - currentTime.get());
|
||||||
json.put("username", getUsername());
|
json.put("username", getUsername());
|
||||||
json.put("address", StringUtils.getCityInfo(requestIp));
|
json.put("address", StringUtils.getCityInfo(requestIp));
|
||||||
json.put("browser", StringUtils.getBrowser(request));
|
json.put("browser", StringUtils.getBrowser(request));
|
||||||
|
|||||||
Reference in New Issue
Block a user