Browse Source

update ruoyi-common/ruoyi-common-log/src/main/java/com/ruoyi/common/log/aspect/LogAspect.java.

修复feign对过大的参数会直接报错,无法调用BUG
tags/v3.3.0
TwelveT 3 years ago committed by Gitee
parent
commit
2288fa218e
  1. 2
      ruoyi-common/ruoyi-common-log/src/main/java/com/ruoyi/common/log/aspect/LogAspect.java

2
ruoyi-common/ruoyi-common-log/src/main/java/com/ruoyi/common/log/aspect/LogAspect.java

@ -144,7 +144,7 @@ public class LogAspect @@ -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));
}
}

Loading…
Cancel
Save