From fa8dce53106f77c22d52d2c1da251ea2c41ab9b8 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 06 三月 2024 11:56:26 +0800
Subject: [PATCH] 代码提交
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentController.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentController.java
index 7816a15..21cfe24 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentController.java
@@ -38,8 +38,8 @@
* 鏌ヨAI鎰忓浘搴撳垪琛�
*/
@PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:list')")
- @GetMapping("/list")
- public TableDataInfo list(IvrLibIntent ivrLibIntent)
+ @PostMapping("/list")
+ public TableDataInfo list(@RequestBody IvrLibIntent ivrLibIntent)
{
startPage();
List<IvrLibIntent> list = ivrLibIntentService.selectIvrLibIntentList(ivrLibIntent);
@@ -74,7 +74,7 @@
*/
@PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:add')")
@Log(title = "AI鎰忓浘搴�", businessType = BusinessType.INSERT)
- @PostMapping
+ @PostMapping("/add")
public AjaxResult add(@RequestBody IvrLibIntent ivrLibIntent)
{
return toAjax(ivrLibIntentService.insertIvrLibIntent(ivrLibIntent));
@@ -85,7 +85,7 @@
*/
@PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:edit')")
@Log(title = "AI鎰忓浘搴�", businessType = BusinessType.UPDATE)
- @PutMapping
+ @PostMapping("/edit")
public AjaxResult edit(@RequestBody IvrLibIntent ivrLibIntent)
{
return toAjax(ivrLibIntentService.updateIvrLibIntent(ivrLibIntent));
@@ -96,7 +96,7 @@
*/
@PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:remove')")
@Log(title = "AI鎰忓浘搴�", businessType = BusinessType.DELETE)
- @DeleteMapping("/{intentids}")
+ @GetMapping("/remove/{intentids}")
public AjaxResult remove(@PathVariable Long[] intentids)
{
return toAjax(ivrLibIntentService.deleteIvrLibIntentByIntentids(intentids));
--
Gitblit v1.9.3