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/IvrLibIntentcategoryController.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 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..27a9a08 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
@@ -38,8 +38,8 @@
      * 鏌ヨAI鎰忓浘搴撳垎绫诲垪琛�
      */
     @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:list')")
-    @GetMapping("/list")
-    public TableDataInfo list(IvrLibIntentcategory ivrLibIntentcategory)
+   @PostMapping("/list")
+    public TableDataInfo list(@RequestBody IvrLibIntentcategory ivrLibIntentcategory)
     {
         startPage();
         List<IvrLibIntentcategory> list = ivrLibIntentcategoryService.selectIvrLibIntentcategoryList(ivrLibIntentcategory);
@@ -74,7 +74,7 @@
      */
     @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));
@@ -85,7 +85,7 @@
      */
     @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));
@@ -96,7 +96,7 @@
      */
     @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