From 562a960261b75d70abd65aa10528f09aeece94e8 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期二, 24 九月 2024 09:49:23 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java index 8779f5c..8b9854e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java @@ -23,7 +23,7 @@ /** * AI澶栧懠娴佺▼鑺傜偣Controller - * + * * @author smartor * @date 2023-03-06 */ @@ -37,9 +37,9 @@ /** * 鏌ヨAI澶栧懠娴佺▼鑺傜偣鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:list')") - @GetMapping("/list") - public TableDataInfo list(IvrSceneFlownode ivrSceneFlownode) + //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:list')") + @PostMapping("/list") + public TableDataInfo list(@RequestBody IvrSceneFlownode ivrSceneFlownode) { startPage(); List<IvrSceneFlownode> list = ivrSceneFlownodeService.selectIvrSceneFlownodeList(ivrSceneFlownode); @@ -49,7 +49,7 @@ /** * 瀵煎嚭AI澶栧懠娴佺▼鑺傜偣鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:export')") + //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:export')") @Log(title = "AI澶栧懠娴佺▼鑺傜偣", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, IvrSceneFlownode ivrSceneFlownode) @@ -62,7 +62,7 @@ /** * 鑾峰彇AI澶栧懠娴佺▼鑺傜偣璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:query')") + //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:query')") @GetMapping(value = "/{flownodeid}") public AjaxResult getInfo(@PathVariable("flownodeid") Long flownodeid) { @@ -72,9 +72,9 @@ /** * 鏂板AI澶栧懠娴佺▼鑺傜偣 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:add')") + //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:add')") @Log(title = "AI澶栧懠娴佺▼鑺傜偣", businessType = BusinessType.INSERT) - @PostMapping + @PostMapping("/add") public AjaxResult add(@RequestBody IvrSceneFlownode ivrSceneFlownode) { return toAjax(ivrSceneFlownodeService.insertIvrSceneFlownode(ivrSceneFlownode)); @@ -83,9 +83,9 @@ /** * 淇敼AI澶栧懠娴佺▼鑺傜偣 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:edit')") + //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:edit')") @Log(title = "AI澶栧懠娴佺▼鑺傜偣", businessType = BusinessType.UPDATE) - @PutMapping + @PostMapping("/edit") public AjaxResult edit(@RequestBody IvrSceneFlownode ivrSceneFlownode) { return toAjax(ivrSceneFlownodeService.updateIvrSceneFlownode(ivrSceneFlownode)); @@ -94,9 +94,9 @@ /** * 鍒犻櫎AI澶栧懠娴佺▼鑺傜偣 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:remove')") + //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:remove')") @Log(title = "AI澶栧懠娴佺▼鑺傜偣", businessType = BusinessType.DELETE) - @DeleteMapping("/{flownodeids}") + @GetMapping("/remove/{flownodeids}") public AjaxResult remove(@PathVariable Long[] flownodeids) { return toAjax(ivrSceneFlownodeService.deleteIvrSceneFlownodeByFlownodeids(flownodeids)); -- Gitblit v1.9.3