From 78b0e909aa6ece787091e5d81450c8927ef2599e Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期五, 15 十二月 2023 17:03:12 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskController.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskController.java index 981417c..385bf69 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskController.java @@ -38,8 +38,8 @@ * 鏌ヨ璇煶浠诲姟鍒楄〃 */ @PreAuthorize("@ss.hasPermi('smartor:ivrtask:list')") - @GetMapping("/list") - public TableDataInfo list(IvrTask ivrTask) + @PostMapping("/list") + public TableDataInfo list(@RequestBody IvrTask ivrTask) { startPage(); List<IvrTask> list = ivrTaskService.selectIvrTaskList(ivrTask); @@ -74,7 +74,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrtask:add')") @Log(title = "璇煶浠诲姟", businessType = BusinessType.INSERT) - @PostMapping + @PostMapping("/add") public AjaxResult add(@RequestBody IvrTask ivrTask) { return toAjax(ivrTaskService.insertIvrTask(ivrTask)); @@ -85,7 +85,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrtask:edit')") @Log(title = "璇煶浠诲姟", businessType = BusinessType.UPDATE) - @PutMapping + @PostMapping("/edit") public AjaxResult edit(@RequestBody IvrTask ivrTask) { return toAjax(ivrTaskService.updateIvrTask(ivrTask)); @@ -96,7 +96,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrtask:remove')") @Log(title = "璇煶浠诲姟", businessType = BusinessType.DELETE) - @DeleteMapping("/{taskids}") + @GetMapping("/remove/{taskids}") public AjaxResult remove(@PathVariable Long[] taskids) { return toAjax(ivrTaskService.deleteIvrTaskByTaskids(taskids)); -- Gitblit v1.9.3