From bedd0a1cef215538df64470df6b8d4a022189136 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 28 八月 2024 14:05:16 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java index 8779f5c..ba1a18a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java @@ -38,8 +38,8 @@ * 鏌ヨAI澶栧懠娴佺▼鑺傜偣鍒楄〃 */ @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:list')") - @GetMapping("/list") - public TableDataInfo list(IvrSceneFlownode ivrSceneFlownode) + @PostMapping("/list") + public TableDataInfo list(@RequestBody IvrSceneFlownode ivrSceneFlownode) { startPage(); List<IvrSceneFlownode> list = ivrSceneFlownodeService.selectIvrSceneFlownodeList(ivrSceneFlownode); @@ -74,7 +74,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:add')") @Log(title = "AI澶栧懠娴佺▼鑺傜偣", businessType = BusinessType.INSERT) - @PostMapping + @PostMapping("/add") public AjaxResult add(@RequestBody IvrSceneFlownode ivrSceneFlownode) { return toAjax(ivrSceneFlownodeService.insertIvrSceneFlownode(ivrSceneFlownode)); @@ -85,7 +85,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:edit')") @Log(title = "AI澶栧懠娴佺▼鑺傜偣", businessType = BusinessType.UPDATE) - @PutMapping + @PostMapping("/edit") public AjaxResult edit(@RequestBody IvrSceneFlownode ivrSceneFlownode) { return toAjax(ivrSceneFlownodeService.updateIvrSceneFlownode(ivrSceneFlownode)); @@ -96,7 +96,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:remove')") @Log(title = "AI澶栧懠娴佺▼鑺傜偣", businessType = BusinessType.DELETE) - @DeleteMapping("/{flownodeids}") + @GetMapping("/remove/{flownodeids}") public AjaxResult remove(@PathVariable Long[] flownodeids) { return toAjax(ivrSceneFlownodeService.deleteIvrSceneFlownodeByFlownodeids(flownodeids)); -- Gitblit v1.9.3