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/IvrSceneRecallController.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneRecallController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneRecallController.java index 79ea468..99c46d1 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneRecallController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneRecallController.java @@ -38,8 +38,8 @@ * 鏌ヨAI澶栧懠閲嶆嫧閰嶇疆鍒楄〃 */ @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:list')") - @GetMapping("/list") - public TableDataInfo list(IvrSceneRecall ivrSceneRecall) + @PostMapping("/list") + public TableDataInfo list(@RequestBody IvrSceneRecall ivrSceneRecall) { startPage(); List<IvrSceneRecall> list = ivrSceneRecallService.selectIvrSceneRecallList(ivrSceneRecall); @@ -74,7 +74,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:add')") @Log(title = "AI澶栧懠閲嶆嫧閰嶇疆", businessType = BusinessType.INSERT) - @PostMapping + @PostMapping("/add") public AjaxResult add(@RequestBody IvrSceneRecall ivrSceneRecall) { return toAjax(ivrSceneRecallService.insertIvrSceneRecall(ivrSceneRecall)); @@ -85,7 +85,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:edit')") @Log(title = "AI澶栧懠閲嶆嫧閰嶇疆", businessType = BusinessType.UPDATE) - @PutMapping + @PostMapping("/edit") public AjaxResult edit(@RequestBody IvrSceneRecall ivrSceneRecall) { return toAjax(ivrSceneRecallService.updateIvrSceneRecall(ivrSceneRecall)); @@ -96,7 +96,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:remove')") @Log(title = "AI澶栧懠閲嶆嫧閰嶇疆", businessType = BusinessType.DELETE) - @DeleteMapping("/{recallids}") + @GetMapping("/remove/{recallids}") public AjaxResult remove(@PathVariable Long[] recallids) { return toAjax(ivrSceneRecallService.deleteIvrSceneRecallByRecallids(recallids)); -- Gitblit v1.9.3