From afac00de336762f881da169b12f1c7e9518c8638 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期日, 13 十一月 2022 22:06:05 +0800 Subject: [PATCH] fix 修复 使用缓冲流 导致上传异常问题 回滚错误提交 #35fac6c --- ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/LogAspect.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/LogAspect.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/LogAspect.java index 59a035e..0159bc3 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/LogAspect.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/LogAspect.java @@ -73,7 +73,7 @@ // 璇锋眰鐨勫湴鍧� String ip = ServletUtils.getClientIP(); operLog.setOperIp(ip); - operLog.setOperUrl(ServletUtils.getRequest().getRequestURI()); + operLog.setOperUrl(StringUtils.substring(ServletUtils.getRequest().getRequestURI(), 0, 255)); operLog.setOperName(LoginHelper.getUsername()); if (e != null) { -- Gitblit v1.9.3