From a0bcee3aa22b79f592c44cdb3dcdbd681490f265 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期一, 15 一月 2024 10:34:31 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskcallController.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskcallController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskcallController.java index ba823e2..13325e6 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskcallController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskcallController.java @@ -38,8 +38,8 @@ * 鏌ヨ璇煶浠诲姟鍛煎彨鍒楄〃 */ @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:list')") - @GetMapping("/list") - public TableDataInfo list(IvrTaskcall ivrTaskcall) + @PostMapping("/list") + public TableDataInfo list(@RequestBody IvrTaskcall ivrTaskcall) { startPage(); List<IvrTaskcall> list = ivrTaskcallService.selectIvrTaskcallList(ivrTaskcall); @@ -74,7 +74,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:add')") @Log(title = "璇煶浠诲姟鍛煎彨", businessType = BusinessType.INSERT) - @PostMapping + @PostMapping("/add") public AjaxResult add(@RequestBody IvrTaskcall ivrTaskcall) { return toAjax(ivrTaskcallService.insertIvrTaskcall(ivrTaskcall)); @@ -85,7 +85,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:edit')") @Log(title = "璇煶浠诲姟鍛煎彨", businessType = BusinessType.UPDATE) - @PutMapping + @PostMapping("/edit") public AjaxResult edit(@RequestBody IvrTaskcall ivrTaskcall) { return toAjax(ivrTaskcallService.updateIvrTaskcall(ivrTaskcall)); @@ -96,7 +96,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:remove')") @Log(title = "璇煶浠诲姟鍛煎彨", businessType = BusinessType.DELETE) - @DeleteMapping("/{callids}") + @GetMapping("/remove/{callids}") public AjaxResult remove(@PathVariable Long[] callids) { return toAjax(ivrTaskcallService.deleteIvrTaskcallByCallids(callids)); -- Gitblit v1.9.3