diff --git a/escheduler-api/src/main/java/cn/escheduler/api/controller/WorkerGroupController.java b/escheduler-api/src/main/java/cn/escheduler/api/controller/WorkerGroupController.java index a3266fff9d..77c504c63c 100644 --- a/escheduler-api/src/main/java/cn/escheduler/api/controller/WorkerGroupController.java +++ b/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