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/IvrSceneController.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneController.java
index 5cdca3c..0a75be8 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneController.java
@@ -38,8 +38,8 @@
* 鏌ヨAI澶栧懠鍦烘櫙绠$悊鍒楄〃
*/
@PreAuthorize("@ss.hasPermi('smartor:ivrscene:list')")
- @GetMapping("/list")
- public TableDataInfo list(IvrScene ivrScene)
+ @PostMapping("/list")
+ public TableDataInfo list(@RequestBody IvrScene ivrScene)
{
startPage();
List<IvrScene> list = ivrSceneService.selectIvrSceneList(ivrScene);
@@ -74,7 +74,7 @@
*/
@PreAuthorize("@ss.hasPermi('smartor:ivrscene:add')")
@Log(title = "AI澶栧懠鍦烘櫙绠$悊", businessType = BusinessType.INSERT)
- @PostMapping
+ @PostMapping("/add")
public AjaxResult add(@RequestBody IvrScene ivrScene)
{
return toAjax(ivrSceneService.insertIvrScene(ivrScene));
@@ -85,7 +85,7 @@
*/
@PreAuthorize("@ss.hasPermi('smartor:ivrscene:edit')")
@Log(title = "AI澶栧懠鍦烘櫙绠$悊", businessType = BusinessType.UPDATE)
- @PutMapping
+ @PostMapping("/edit")
public AjaxResult edit(@RequestBody IvrScene ivrScene)
{
return toAjax(ivrSceneService.updateIvrScene(ivrScene));
@@ -96,7 +96,7 @@
*/
@PreAuthorize("@ss.hasPermi('smartor:ivrscene:remove')")
@Log(title = "AI澶栧懠鍦烘櫙绠$悊", businessType = BusinessType.DELETE)
- @DeleteMapping("/{sceneids}")
+ @GetMapping("/remove/{sceneids}")
public AjaxResult remove(@PathVariable Long[] sceneids)
{
return toAjax(ivrSceneService.deleteIvrSceneBySceneids(sceneids));
--
Gitblit v1.9.3