|
|
@ -140,7 +140,7 @@ public class SysJobController extends BaseController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (!ScheduleUtils.whiteList(job.getInvokeTarget()))
|
|
|
|
else if (!ScheduleUtils.whiteList(job.getInvokeTarget()))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return error("新增任务'" + job.getJobName() + "'失败,目标字符串不在白名单内");
|
|
|
|
return error("修改任务'" + job.getJobName() + "'失败,目标字符串不在白名单内");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
job.setUpdateBy(getUsername());
|
|
|
|
job.setUpdateBy(getUsername());
|
|
|
|
return toAjax(jobService.updateJob(job));
|
|
|
|
return toAjax(jobService.updateJob(job));
|
|
|
|