From 6c8a389f9a768519faaa78c4886b38224a8a66ff Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 21 Jul 2020 11:28:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=AA=E5=8F=96=E8=BF=94=E5=9B=9E=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=95=BF=E5=BA=A6=EF=BC=8C=E9=98=B2=E6=AD=A2=E8=B6=85?= =?UTF-8?q?=E5=87=BA=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/framework/aspectj/LogAspect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 87a7198b7..74091eb49 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 @@ -84,7 +84,7 @@ public class LogAspect String ip = ShiroUtils.getIp(); operLog.setOperIp(ip); // θΏ”ε›žε‚ζ•° - operLog.setJsonResult(JSON.marshal(jsonResult)); + operLog.setJsonResult(StringUtils.substring(JSON.marshal(jsonResult), 0, 2000)); operLog.setOperUrl(ServletUtils.getRequest().getRequestURI()); if (currentUser != null)