This commit is contained in:
2023-09-07 23:14:35 +08:00
parent ac5e2600c3
commit 34ab1400fb

View File

@@ -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));