mirror of https://gitee.com/y_project/RuoYi.git
修复请求形参未传值记录日志异常问题
parent
e821dc6b50
commit
293513dc64
|
@ -218,7 +218,7 @@ public class LogAspect
|
||||||
{
|
{
|
||||||
for (int i = 0; i < paramsArray.length; i++)
|
for (int i = 0; i < paramsArray.length; i++)
|
||||||
{
|
{
|
||||||
if (!isFilterObject(paramsArray[i]))
|
if (StringUtils.isNotNull(paramsArray[i]) && !isFilterObject(paramsArray[i]))
|
||||||
{
|
{
|
||||||
Object jsonObj = JSONObject.toJSONString(paramsArray[i], excludePropertyPreFilter());
|
Object jsonObj = JSONObject.toJSONString(paramsArray[i], excludePropertyPreFilter());
|
||||||
params += jsonObj.toString() + " ";
|
params += jsonObj.toString() + " ";
|
||||||
|
|
Loading…
Reference in New Issue