From 37b79cfd8e5ecdc6f9f09750583f998183c338fb Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 07 十一月 2024 10:55:27 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentcategoryController.java |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentcategoryController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentcategoryController.java
index d4f3572..d21f32d 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentcategoryController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentcategoryController.java
@@ -23,7 +23,7 @@
 
 /**
  * AI鎰忓浘搴撳垎绫籆ontroller
- * 
+ *
  * @author smartor
  * @date 2023-03-06
  */
@@ -37,9 +37,9 @@
     /**
      * 鏌ヨAI鎰忓浘搴撳垎绫诲垪琛�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:list')")
-    @GetMapping("/list")
-    public TableDataInfo list(IvrLibIntentcategory ivrLibIntentcategory)
+    //@PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:list')")
+   @PostMapping("/list")
+    public TableDataInfo list(@RequestBody IvrLibIntentcategory ivrLibIntentcategory)
     {
         startPage();
         List<IvrLibIntentcategory> list = ivrLibIntentcategoryService.selectIvrLibIntentcategoryList(ivrLibIntentcategory);
@@ -49,7 +49,7 @@
     /**
      * 瀵煎嚭AI鎰忓浘搴撳垎绫诲垪琛�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:export')")
+    //@PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:export')")
     @Log(title = "AI鎰忓浘搴撳垎绫�", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, IvrLibIntentcategory ivrLibIntentcategory)
@@ -62,7 +62,7 @@
     /**
      * 鑾峰彇AI鎰忓浘搴撳垎绫昏缁嗕俊鎭�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:query')")
+    //@PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:query')")
     @GetMapping(value = "/{intertcatid}")
     public AjaxResult getInfo(@PathVariable("intertcatid") Long intertcatid)
     {
@@ -72,9 +72,9 @@
     /**
      * 鏂板AI鎰忓浘搴撳垎绫�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:add')")
+    //@PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:add')")
     @Log(title = "AI鎰忓浘搴撳垎绫�", businessType = BusinessType.INSERT)
-    @PostMapping
+    @PostMapping("/add")
     public AjaxResult add(@RequestBody IvrLibIntentcategory ivrLibIntentcategory)
     {
         return toAjax(ivrLibIntentcategoryService.insertIvrLibIntentcategory(ivrLibIntentcategory));
@@ -83,9 +83,9 @@
     /**
      * 淇敼AI鎰忓浘搴撳垎绫�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:edit')")
+    //@PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:edit')")
     @Log(title = "AI鎰忓浘搴撳垎绫�", businessType = BusinessType.UPDATE)
-    @PutMapping
+    @PostMapping("/edit")
     public AjaxResult edit(@RequestBody IvrLibIntentcategory ivrLibIntentcategory)
     {
         return toAjax(ivrLibIntentcategoryService.updateIvrLibIntentcategory(ivrLibIntentcategory));
@@ -94,9 +94,9 @@
     /**
      * 鍒犻櫎AI鎰忓浘搴撳垎绫�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:remove')")
+    //@PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:remove')")
     @Log(title = "AI鎰忓浘搴撳垎绫�", businessType = BusinessType.DELETE)
-	@DeleteMapping("/{intertcatids}")
+	@GetMapping("/remove/{intertcatids}")
     public AjaxResult remove(@PathVariable Long[] intertcatids)
     {
         return toAjax(ivrLibIntentcategoryService.deleteIvrLibIntentcategoryByIntertcatids(intertcatids));

--
Gitblit v1.9.3