From f55c563e2a0b52e4569ce6b5f81632cac598f7fe Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 30 十月 2024 18:36:55 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 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..8b9854e 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
@@ -23,7 +23,7 @@
 
 /**
  * AI澶栧懠娴佺▼鑺傜偣Controller
- * 
+ *
  * @author smartor
  * @date 2023-03-06
  */
@@ -37,9 +37,9 @@
     /**
      * 鏌ヨAI澶栧懠娴佺▼鑺傜偣鍒楄〃
      */
-    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:list')")
-    @GetMapping("/list")
-    public TableDataInfo list(IvrSceneFlownode ivrSceneFlownode)
+    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:list')")
+   @PostMapping("/list")
+    public TableDataInfo list(@RequestBody IvrSceneFlownode ivrSceneFlownode)
     {
         startPage();
         List<IvrSceneFlownode> list = ivrSceneFlownodeService.selectIvrSceneFlownodeList(ivrSceneFlownode);
@@ -49,7 +49,7 @@
     /**
      * 瀵煎嚭AI澶栧懠娴佺▼鑺傜偣鍒楄〃
      */
-    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:export')")
+    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:export')")
     @Log(title = "AI澶栧懠娴佺▼鑺傜偣", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, IvrSceneFlownode ivrSceneFlownode)
@@ -62,7 +62,7 @@
     /**
      * 鑾峰彇AI澶栧懠娴佺▼鑺傜偣璇︾粏淇℃伅
      */
-    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:query')")
+    //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:query')")
     @GetMapping(value = "/{flownodeid}")
     public AjaxResult getInfo(@PathVariable("flownodeid") Long flownodeid)
     {
@@ -72,9 +72,9 @@
     /**
      * 鏂板AI澶栧懠娴佺▼鑺傜偣
      */
-    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:add')")
+    //@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));
@@ -83,9 +83,9 @@
     /**
      * 淇敼AI澶栧懠娴佺▼鑺傜偣
      */
-    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:edit')")
+    //@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));
@@ -94,9 +94,9 @@
     /**
      * 鍒犻櫎AI澶栧懠娴佺▼鑺傜偣
      */
-    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:remove')")
+    //@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