From 10aaa035f5be0312304d20f022bdb714a8f4900a Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 11 十二月 2024 22:16:23 +0800
Subject: [PATCH] 代码提交
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneIntentController.java | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneIntentController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneIntentController.java
index a1c9243..ff35d96 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneIntentController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneIntentController.java
@@ -37,9 +37,9 @@
/**
* 鏌ヨAI澶栧懠鎰忓浘鍒楄〃
*/
- @PreAuthorize("@ss.hasPermi('smartor:ivrintent:list')")
- @GetMapping("/list")
- public TableDataInfo list(IvrSceneIntent ivrSceneIntent)
+ //@PreAuthorize("@ss.hasPermi('smartor:ivrintent:list')")
+ @PostMapping("/list")
+ public TableDataInfo list(@RequestBody IvrSceneIntent ivrSceneIntent)
{
startPage();
List<IvrSceneIntent> list = ivrSceneIntentService.selectIvrSceneIntentList(ivrSceneIntent);
@@ -49,7 +49,7 @@
/**
* 瀵煎嚭AI澶栧懠鎰忓浘鍒楄〃
*/
- @PreAuthorize("@ss.hasPermi('smartor:ivrintent:export')")
+ //@PreAuthorize("@ss.hasPermi('smartor:ivrintent:export')")
@Log(title = "AI澶栧懠鎰忓浘", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, IvrSceneIntent ivrSceneIntent)
@@ -62,7 +62,7 @@
/**
* 鑾峰彇AI澶栧懠鎰忓浘璇︾粏淇℃伅
*/
- @PreAuthorize("@ss.hasPermi('smartor:ivrintent:query')")
+ //@PreAuthorize("@ss.hasPermi('smartor:ivrintent:query')")
@GetMapping(value = "/{sceneintentid}")
public AjaxResult getInfo(@PathVariable("sceneintentid") Long sceneintentid)
{
@@ -72,9 +72,9 @@
/**
* 鏂板AI澶栧懠鎰忓浘
*/
- @PreAuthorize("@ss.hasPermi('smartor:ivrintent:add')")
+ //@PreAuthorize("@ss.hasPermi('smartor:ivrintent:add')")
@Log(title = "AI澶栧懠鎰忓浘", businessType = BusinessType.INSERT)
- @PostMapping
+ @PostMapping("/add")
public AjaxResult add(@RequestBody IvrSceneIntent ivrSceneIntent)
{
return toAjax(ivrSceneIntentService.insertIvrSceneIntent(ivrSceneIntent));
@@ -83,9 +83,9 @@
/**
* 淇敼AI澶栧懠鎰忓浘
*/
- @PreAuthorize("@ss.hasPermi('smartor:ivrintent:edit')")
+ //@PreAuthorize("@ss.hasPermi('smartor:ivrintent:edit')")
@Log(title = "AI澶栧懠鎰忓浘", businessType = BusinessType.UPDATE)
- @PutMapping
+ @PostMapping("/edit")
public AjaxResult edit(@RequestBody IvrSceneIntent ivrSceneIntent)
{
return toAjax(ivrSceneIntentService.updateIvrSceneIntent(ivrSceneIntent));
@@ -94,9 +94,9 @@
/**
* 鍒犻櫎AI澶栧懠鎰忓浘
*/
- @PreAuthorize("@ss.hasPermi('smartor:ivrintent:remove')")
+ //@PreAuthorize("@ss.hasPermi('smartor:ivrintent:remove')")
@Log(title = "AI澶栧懠鎰忓浘", businessType = BusinessType.DELETE)
- @DeleteMapping("/{sceneintentids}")
+ @GetMapping("/remove/{sceneintentids}")
public AjaxResult remove(@PathVariable Long[] sceneintentids)
{
return toAjax(ivrSceneIntentService.deleteIvrSceneIntentBySceneintentids(sceneintentids));
--
Gitblit v1.9.3