定时任务cron表达式验证

This commit is contained in:
RuoYi
2020-07-30 17:16:05 +08:00
parent 5967f7f11b
commit 59b8df2e90
2 changed files with 20 additions and 2 deletions

View File

@@ -198,8 +198,14 @@ public class LogAspect
{
if (!isFilterObject(paramsArray[i]))
{
Object jsonObj = JSON.toJSON(paramsArray[i]);
params += jsonObj.toString() + " ";
try
{
Object jsonObj = JSON.toJSON(paramsArray[i]);
params += jsonObj.toString() + " ";
}
catch (Exception e)
{
}
}
}
}