!574 修复 issue#I5Q2ZO

Merge pull request !574 from 捏造的信仰/fix-I5Q2ZO
feature/model
若依 2 years ago committed by Gitee
commit 87c53a049b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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

Loading…
Cancel
Save