mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
完善
This commit is contained in:
@@ -87,7 +87,7 @@ public class ControllerAop {
|
||||
|
||||
private static void updateSysLog(Throwable e, SysLogEntity sysLogEntity) {
|
||||
if (sysLogEntity != null) {
|
||||
sysLogEntity.setStatus(1);
|
||||
sysLogEntity.setStatus("1");
|
||||
sysLogEntity.setStacktrace(ExceptionUtils.getStackTrace(e));
|
||||
|
||||
}
|
||||
@@ -118,7 +118,7 @@ public class ControllerAop {
|
||||
sysLogEntity.setIp(RequestUtils.getIp(request));
|
||||
sysLogEntity.setIpLocation(RequestUtils.getIp(request));
|
||||
sysLogEntity.setUrl(request.getRequestURI());
|
||||
sysLogEntity.setStatus(0);
|
||||
sysLogEntity.setStatus("0");
|
||||
sysLogEntity.setTimeCost(0);
|
||||
sysLogEntity.setUserAgent(RequestUtils.getUa(request));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user