From 2288fa218e2f703ce78105ff7615fd593953642a Mon Sep 17 00:00:00 2001 From: TwelveT <2471835953@qq.com> Date: Fri, 12 Nov 2021 09:01:56 +0000 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-common/ruoyi-common-log/src/main?= =?UTF-8?q?/java/com/ruoyi/common/log/aspect/LogAspect.java.=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dfeign=E5=AF=B9=E8=BF=87=E5=A4=A7=E7=9A=84=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=BC=9A=E7=9B=B4=E6=8E=A5=E6=8A=A5=E9=94=99=EF=BC=8C?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E8=B0=83=E7=94=A8BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ruoyi/common/log/aspect/LogAspect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-common/ruoyi-common-log/src/main/java/com/ruoyi/common/log/aspect/LogAspect.java b/ruoyi-common/ruoyi-common-log/src/main/java/com/ruoyi/common/log/aspect/LogAspect.java index c7237f15..44d8bc0e 100644 --- a/ruoyi-common/ruoyi-common-log/src/main/java/com/ruoyi/common/log/aspect/LogAspect.java +++ b/ruoyi-common/ruoyi-common-log/src/main/java/com/ruoyi/common/log/aspect/LogAspect.java @@ -144,7 +144,7 @@ public class LogAspect if (HttpMethod.PUT.name().equals(requestMethod) || HttpMethod.POST.name().equals(requestMethod)) { String params = argsArrayToString(joinPoint.getArgs()); - operLog.setOperParam(StringUtils.substring(params, 0, 2000)); + operLog.setOperParam(StringUtils.substring(params, 0, 1000)); } }