package cn.bunny.services.controller; import cn.bunny.dao.dto.schedulers.SchedulersAddDto; import cn.bunny.dao.entity.view.Schedulers; import cn.bunny.dao.pojo.result.PageResult; import cn.bunny.dao.pojo.result.Result; import cn.bunny.services.service.SchedulersService; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; /** *
* VIEW 前端控制器 *
* * @author Bunny * @since 2024-10-14 */ @Tag(name = "定时任务", description = "定时任务相关接口") @RestController @RequestMapping("admin/schedulers") public class SchedulersController { @Autowired private SchedulersService schedulersService; @Operation(summary = "分页查询所有任务", description = "分页查询所有任务") @PostMapping("getSchedulerList/{page}/{limit}") public Result