From 8d56b5fbf468a2ee319d64e616ef59c12d26f04e Mon Sep 17 00:00:00 2001 From: Yihua Cai Date: Fri, 19 Oct 2018 14:44:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EJob=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E8=BF=94=E5=9B=9EJob=20ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xxl-job-admin/src/main/java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java b/xxl-job-admin/src/main/java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java index 57f6a260..1d8c2937 100644 --- a/xxl-job-admin/src/main/java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java +++ b/xxl-job-admin/src/main/java/com/xxl/job/admin/service/impl/XxlJobServiceImpl.java @@ -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 {