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/IvrTaskcallrecordController.java | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskcallrecordController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskcallrecordController.java index 73bf56f..ed6609f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskcallrecordController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskcallrecordController.java @@ -23,7 +23,7 @@ /** * 璇煶浠诲姟鍛煎彨璁板綍Controller - * + * * @author smartor * @date 2023-03-24 */ @@ -37,9 +37,9 @@ /** * 鏌ヨ璇煶浠诲姟鍛煎彨璁板綍鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:list')") - @GetMapping("/list") - public TableDataInfo list(IvrTaskcallrecord ivrTaskcallrecord) + //@PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:list')") + @PostMapping("/list") + public TableDataInfo list(@RequestBody IvrTaskcallrecord ivrTaskcallrecord) { startPage(); List<IvrTaskcallrecord> list = ivrTaskcallrecordService.selectIvrTaskcallrecordList(ivrTaskcallrecord); @@ -49,7 +49,7 @@ /** * 瀵煎嚭璇煶浠诲姟鍛煎彨璁板綍鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:export')") + //@PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:export')") @Log(title = "璇煶浠诲姟鍛煎彨璁板綍", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, IvrTaskcallrecord ivrTaskcallrecord) @@ -62,7 +62,7 @@ /** * 鑾峰彇璇煶浠诲姟鍛煎彨璁板綍璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:query')") + //@PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:query')") @GetMapping(value = "/{uuid}") public AjaxResult getInfo(@PathVariable("uuid") String uuid) { @@ -72,9 +72,9 @@ /** * 鏂板璇煶浠诲姟鍛煎彨璁板綍 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:add')") + //@PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:add')") @Log(title = "璇煶浠诲姟鍛煎彨璁板綍", businessType = BusinessType.INSERT) - @PostMapping + @PostMapping("/add") public AjaxResult add(@RequestBody IvrTaskcallrecord ivrTaskcallrecord) { return toAjax(ivrTaskcallrecordService.insertIvrTaskcallrecord(ivrTaskcallrecord)); @@ -83,9 +83,9 @@ /** * 淇敼璇煶浠诲姟鍛煎彨璁板綍 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:edit')") + //@PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:edit')") @Log(title = "璇煶浠诲姟鍛煎彨璁板綍", businessType = BusinessType.UPDATE) - @PutMapping + @PostMapping("/edit") public AjaxResult edit(@RequestBody IvrTaskcallrecord ivrTaskcallrecord) { return toAjax(ivrTaskcallrecordService.updateIvrTaskcallrecord(ivrTaskcallrecord)); @@ -94,9 +94,9 @@ /** * 鍒犻櫎璇煶浠诲姟鍛煎彨璁板綍 */ - @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:remove')") + //@PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:remove')") @Log(title = "璇煶浠诲姟鍛煎彨璁板綍", businessType = BusinessType.DELETE) - @DeleteMapping("/{uuids}") + @GetMapping("/remove/{uuids}") public AjaxResult remove(@PathVariable String[] uuids) { return toAjax(ivrTaskcallrecordService.deleteIvrTaskcallrecordByUuids(uuids)); -- Gitblit v1.9.3