From d877aae8773f70a837435e4917ed9aa1d48496df Mon Sep 17 00:00:00 2001 From: wangkang Date: Thu, 3 Aug 2017 17:39:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9rest=E7=9A=84method?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/itkk/udf/scheduler/web/IJobController.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/udf-starter-scheduler/src/main/java/org/itkk/udf/scheduler/web/IJobController.java b/udf-starter-scheduler/src/main/java/org/itkk/udf/scheduler/web/IJobController.java index 2c4575c..056b7af 100644 --- a/udf-starter-scheduler/src/main/java/org/itkk/udf/scheduler/web/IJobController.java +++ b/udf-starter-scheduler/src/main/java/org/itkk/udf/scheduler/web/IJobController.java @@ -24,8 +24,7 @@ import java.util.Map; * * @author Administrator */ -@Api(value = "作业服务", consumes = "application/json", produces = "application/json", - protocols = "http") +@Api(value = "作业服务", consumes = "application/json", produces = "application/json", protocols = "http") @RequestMapping(value = "/service/scheduler/job") public interface IJobController { @@ -45,7 +44,7 @@ public interface IJobController { @ApiImplicitParam(paramType = "path", name = "jobCode", value = "作业代码", required = true, dataType = "string") }) @RequestMapping(value = "{jobCode}", method = RequestMethod.POST) - RestResponse save(@PathVariable String jobCode) throws ClassNotFoundException, SchedulerException;//NOSONAR + RestResponse save(@PathVariable String jobCode) throws ClassNotFoundException, SchedulerException; //NOSONAR /** * 描述 : 保存作业(覆盖) @@ -80,7 +79,7 @@ public interface IJobController { @ApiImplicitParam(paramType = "path", name = "jobCode", value = "作业代码", required = true, dataType = "string") }) @RequestMapping(value = "{jobCode}", method = RequestMethod.DELETE) - RestResponse remove(@PathVariable String jobCode) throws SchedulerException;//NOSONAR + RestResponse remove(@PathVariable String jobCode) throws SchedulerException; //NOSONAR /** * 描述 : 触发作业