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/IvrSceneFlownodebranchController.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodebranchController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodebranchController.java index 4ca0c52..df992d1 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodebranchController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodebranchController.java @@ -38,8 +38,8 @@ * 鏌ヨAI澶栧懠娴佺▼鑺傜偣鍒嗘敮鍒楄〃 */ @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:list')") - @GetMapping("/list") - public TableDataInfo list(IvrSceneFlownodebranch ivrSceneFlownodebranch) + @PostMapping("/list") + public TableDataInfo list(@RequestBody IvrSceneFlownodebranch ivrSceneFlownodebranch) { startPage(); List<IvrSceneFlownodebranch> list = ivrSceneFlownodebranchService.selectIvrSceneFlownodebranchList(ivrSceneFlownodebranch); @@ -74,7 +74,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:add')") @Log(title = "AI澶栧懠娴佺▼鑺傜偣鍒嗘敮", businessType = BusinessType.INSERT) - @PostMapping + @PostMapping("/add") public AjaxResult add(@RequestBody IvrSceneFlownodebranch ivrSceneFlownodebranch) { return toAjax(ivrSceneFlownodebranchService.insertIvrSceneFlownodebranch(ivrSceneFlownodebranch)); @@ -85,7 +85,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:edit')") @Log(title = "AI澶栧懠娴佺▼鑺傜偣鍒嗘敮", businessType = BusinessType.UPDATE) - @PutMapping + @PostMapping("/edit") public AjaxResult edit(@RequestBody IvrSceneFlownodebranch ivrSceneFlownodebranch) { return toAjax(ivrSceneFlownodebranchService.updateIvrSceneFlownodebranch(ivrSceneFlownodebranch)); @@ -96,7 +96,7 @@ */ @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:remove')") @Log(title = "AI澶栧懠娴佺▼鑺傜偣鍒嗘敮", businessType = BusinessType.DELETE) - @DeleteMapping("/{branchids}") + @GetMapping("/remove/{branchids}") public AjaxResult remove(@PathVariable Long[] branchids) { return toAjax(ivrSceneFlownodebranchService.deleteIvrSceneFlownodebranchByBranchids(branchids)); -- Gitblit v1.9.3