作者 RuoYi

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

@@ -197,7 +197,7 @@ public class LogAspect @@ -197,7 +197,7 @@ public class LogAspect
197 { 197 {
198 for (int i = 0; i < paramsArray.length; i++) 198 for (int i = 0; i < paramsArray.length; i++)
199 { 199 {
200 - if (!isFilterObject(paramsArray[i])) 200 + if (StringUtils.isNotNull(paramsArray[i]) && !isFilterObject(paramsArray[i]))
201 { 201 {
202 Object jsonObj = JSON.toJSON(paramsArray[i]); 202 Object jsonObj = JSON.toJSON(paramsArray[i]);
203 params += jsonObj.toString() + " "; 203 params += jsonObj.toString() + " ";