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)