fix: 定时任务列表注解

V0.5.x
regan 2023-06-15 21:26:26 +08:00
parent f4afa8109f
commit f9addd2b69
1 changed files with 2 additions and 2 deletions

View File

@ -131,13 +131,13 @@ public class RuleEngineController {
return ruleEngineService.pauseTask(taskId);
}
@ApiOperation("启动定时任务")
@ApiOperation("恢复定时任务")
@PostMapping("/task/resume")
public boolean resumeTask(@Validated @RequestBody Request<String> request) {
return ruleEngineService.resumeTask(request.getData());
}
@ApiOperation("恢复定时任务")
@ApiOperation("启动定时任务")
@PostMapping("/task/renew")
public boolean renewTask(@Validated @RequestBody Request<String> request) {
String taskId = request.getData();