From 8d913e5594f45ca2a4ce656ea9feb99ffe715913 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期五, 29 十一月 2024 18:44:58 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneController.java | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 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..44e0972 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 @@ -37,9 +37,9 @@ /** * 鏌ヨAI澶栧懠鍦烘櫙绠$悊鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrscene:list')") - @GetMapping("/list") - public TableDataInfo list(IvrScene ivrScene) + //@PreAuthorize("@ss.hasPermi('smartor:ivrscene:list')") + @PostMapping("/list") + public TableDataInfo list(@RequestBody IvrScene ivrScene) { startPage(); List<IvrScene> list = ivrSceneService.selectIvrSceneList(ivrScene); @@ -49,7 +49,7 @@ /** * 瀵煎嚭AI澶栧懠鍦烘櫙绠$悊鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrscene:export')") + //@PreAuthorize("@ss.hasPermi('smartor:ivrscene:export')") @Log(title = "AI澶栧懠鍦烘櫙绠$悊", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, IvrScene ivrScene) @@ -62,7 +62,7 @@ /** * 鑾峰彇AI澶栧懠鍦烘櫙绠$悊璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrscene:query')") + //@PreAuthorize("@ss.hasPermi('smartor:ivrscene:query')") @GetMapping(value = "/{sceneid}") public AjaxResult getInfo(@PathVariable("sceneid") Long sceneid) { @@ -72,9 +72,9 @@ /** * 鏂板AI澶栧懠鍦烘櫙绠$悊 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrscene:add')") + //@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)); @@ -83,9 +83,9 @@ /** * 淇敼AI澶栧懠鍦烘櫙绠$悊 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrscene:edit')") + //@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)); @@ -94,9 +94,9 @@ /** * 鍒犻櫎AI澶栧懠鍦烘櫙绠$悊 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrscene:remove')") + //@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