Merge pull request #552 from allen-kaiser-cai/v_1.9.3

新增Job接口需要返回Job ID
pull/8/MERGE
许雪里 6 years ago committed by GitHub
commit d4c9eb5db1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -130,7 +130,7 @@ public class XxlJobServiceImpl implements XxlJobService {
try { try {
XxlJobDynamicScheduler.addJob(qz_name, qz_group, jobInfo.getJobCron()); XxlJobDynamicScheduler.addJob(qz_name, qz_group, jobInfo.getJobCron());
//XxlJobDynamicScheduler.pauseJob(qz_name, qz_group); //XxlJobDynamicScheduler.pauseJob(qz_name, qz_group);
return ReturnT.SUCCESS; return new ReturnT<>(qz_name);
} catch (SchedulerException e) { } catch (SchedulerException e) {
logger.error(e.getMessage(), e); logger.error(e.getMessage(), e);
try { try {

Loading…
Cancel
Save