|
|
@ -74,7 +74,7 @@ public class TaskController { |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
|
|
|
|
@MustLogin |
|
|
|
// @MustLogin
|
|
|
|
@ApiOperation(value = "添加任务", notes = "") |
|
|
|
@RequestMapping(value = "/saveTask", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse<List<CTaskVo.QueryTask>> saveTask(@ApiParam @Validated @RequestBody QueryDto<CTaskDto.SaveTask> params) throws Exception { |
|
|
@ -82,7 +82,7 @@ public class TaskController { |
|
|
|
return JsonResponse.newInstance().ok(queryTasks); |
|
|
|
} |
|
|
|
|
|
|
|
@MustLogin |
|
|
|
// @MustLogin
|
|
|
|
@ApiOperation(value = "给任务添加插件", notes = "") |
|
|
|
@RequestMapping(value = "/saveTaskPlugin", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse saveTaskPlugin(@ApiParam @Validated @RequestBody QueryDto<List<CPluginDto.UpdateTaskPlugin>> params) throws Exception { |
|
|
|