新增Job接口需要返回Job ID

pull/8/MERGE
Yihua Cai 6 years ago
parent 77441a0e41
commit 8d56b5fbf4

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

Loading…
Cancel
Save