Browse Source

修复请求形参未传值记录日志异常问题

tags/v3.0.0
RuoYi 4 years ago
parent
commit
84b975ac7f
  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

@ -190,7 +190,7 @@ public class LogAspect @@ -190,7 +190,7 @@ public class LogAspect
{
for (int i = 0; i < paramsArray.length; i++)
{
if (!isFilterObject(paramsArray[i]))
if (StringUtils.isNotNull(paramsArray[i]) && !isFilterObject(paramsArray[i]))
{
try
{

Loading…
Cancel
Save