|
|
|
@ -78,7 +78,7 @@ public class LogAspect
|
|
|
|
|
// 请求的地址
|
|
|
|
|
String ip = IpUtils.getIpAddr(ServletUtils.getRequest());
|
|
|
|
|
operLog.setOperIp(ip);
|
|
|
|
|
operLog.setOperUrl(ServletUtils.getRequest().getRequestURI());
|
|
|
|
|
operLog.setOperUrl(StringUtils.substring(ServletUtils.getRequest().getRequestURI(), 0, 255));
|
|
|
|
|
if (loginUser != null)
|
|
|
|
|
{
|
|
|
|
|
operLog.setOperName(loginUser.getUsername());
|
|
|
|
|