Browse Source

updateadd worker group

pull/2/head
baoliang 6 years ago
parent
commit
3ff396207c
  1. 4
      escheduler-api/src/main/java/cn/escheduler/api/controller/WorkerGroupController.java

4
escheduler-api/src/main/java/cn/escheduler/api/controller/WorkerGroupController.java

@ -63,7 +63,7 @@ public class WorkerGroupController extends BaseController{
}
}
@PostMapping(value = "/list-paging")
@GetMapping(value = "/list-paging")
@ResponseStatus(HttpStatus.OK)
public Result queryAllWorkerGroupsPaging(@RequestAttribute(value = Constants.SESSION_USER) User loginUser,
@RequestParam("pageNo") Integer pageNo,
@ -82,7 +82,7 @@ public class WorkerGroupController extends BaseController{
}
}
@PostMapping(value = "/delete-by-id")
@GetMapping(value = "/delete-by-id")
@ResponseStatus(HttpStatus.OK)
public Result deleteById(@RequestAttribute(value = Constants.SESSION_USER) User loginUser,
@RequestParam("id") Integer id

Loading…
Cancel
Save