|
|
|
@ -76,7 +76,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));
|
|
|
|
|
String username = SecurityUtils.getUsername();
|
|
|
|
|
if (StringUtils.isNotBlank(username))
|
|
|
|
|
{
|
|
|
|
|