修复请求形参未传值记录日志异常问题
This commit is contained in:
parent
7b94ae3a9a
commit
77ebca264a
|
@ -197,7 +197,7 @@ public class LogAspect
|
|||
{
|
||||
for (int i = 0; i < paramsArray.length; i++)
|
||||
{
|
||||
if (!isFilterObject(paramsArray[i]))
|
||||
if (StringUtils.isNotNull(paramsArray[i]) && !isFilterObject(paramsArray[i]))
|
||||
{
|
||||
Object jsonObj = JSON.toJSON(paramsArray[i]);
|
||||
params += jsonObj.toString() + " ";
|
||||
|
|
Loading…
Reference in New Issue