From 907641e56c2085aaa81f267946dc3e3e9fca73e7 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 18 九月 2024 09:39:02 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyLibExceptionController.java | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyLibExceptionController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyLibExceptionController.java index 914eadb..d91ac64 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyLibExceptionController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SvyLibExceptionController.java @@ -37,9 +37,9 @@ /** * 鏌ヨ闂嵎寮傚父鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('smartor:svyexception:list')") - @GetMapping("/list") - public TableDataInfo list(SvyLibException svyLibException) + //@PreAuthorize("@ss.hasPermi('smartor:svyexception:list')") + @PostMapping("/list") + public TableDataInfo list(@RequestBody SvyLibException svyLibException) { startPage(); List<SvyLibException> list = svyLibExceptionService.selectSvyLibExceptionList(svyLibException); @@ -49,7 +49,7 @@ /** * 瀵煎嚭闂嵎寮傚父鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('smartor:svyexception:export')") + //@PreAuthorize("@ss.hasPermi('smartor:svyexception:export')") @Log(title = "闂嵎寮傚父", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, SvyLibException svyLibException) @@ -62,7 +62,7 @@ /** * 鑾峰彇闂嵎寮傚父璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('smartor:svyexception:query')") + //@PreAuthorize("@ss.hasPermi('smartor:svyexception:query')") @GetMapping(value = "/{ecid}") public AjaxResult getInfo(@PathVariable("ecid") Long ecid) { @@ -72,9 +72,9 @@ /** * 鏂板闂嵎寮傚父 */ - @PreAuthorize("@ss.hasPermi('smartor:svyexception:add')") + //@PreAuthorize("@ss.hasPermi('smartor:svyexception:add')") @Log(title = "闂嵎寮傚父", businessType = BusinessType.INSERT) - @PostMapping + @PostMapping("/add") public AjaxResult add(@RequestBody SvyLibException svyLibException) { return toAjax(svyLibExceptionService.insertSvyLibException(svyLibException)); @@ -83,9 +83,9 @@ /** * 淇敼闂嵎寮傚父 */ - @PreAuthorize("@ss.hasPermi('smartor:svyexception:edit')") + //@PreAuthorize("@ss.hasPermi('smartor:svyexception:edit')") @Log(title = "闂嵎寮傚父", businessType = BusinessType.UPDATE) - @PutMapping + @PostMapping("/edit") public AjaxResult edit(@RequestBody SvyLibException svyLibException) { return toAjax(svyLibExceptionService.updateSvyLibException(svyLibException)); @@ -94,9 +94,9 @@ /** * 鍒犻櫎闂嵎寮傚父 */ - @PreAuthorize("@ss.hasPermi('smartor:svyexception:remove')") + //@PreAuthorize("@ss.hasPermi('smartor:svyexception:remove')") @Log(title = "闂嵎寮傚父", businessType = BusinessType.DELETE) - @DeleteMapping("/{ecids}") + @GetMapping("/remove/{ecids}") public AjaxResult remove(@PathVariable Long[] ecids) { return toAjax(svyLibExceptionService.deleteSvyLibExceptionByEcids(ecids)); -- Gitblit v1.9.3