Commit 8d56b5fb by Yihua Cai

新增Job接口需要返回Job ID

parent 77441a0e
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment