From 63ebc0007e9958bd6680c6841a7460b053275790 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期一, 22 四月 2024 14:20:15 +0800 Subject: [PATCH] 将 @PreAuthorize 全部注释 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorpaymentController.java | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorpaymentController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorpaymentController.java index a0be903..1fa4a1e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorpaymentController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonorpaymentController.java @@ -46,7 +46,6 @@ * 鏌ヨ璐圭敤鏀舵鍗曞垪琛� */ @ApiOperation("鏌ヨ璐圭敤鏀舵鍗曞垪琛�") - @PreAuthorize("@ss.hasPermi('system:donorpayment:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonorpayment serviceDonorpayment) { startPage(); @@ -58,7 +57,6 @@ * 瀵煎嚭璐圭敤鏀舵鍗曞垪琛� */ @ApiOperation("瀵煎嚭璐圭敤鏀舵鍗曞垪琛�") - @PreAuthorize("@ss.hasPermi('system:donorpayment:export')") @Log(title = "璐圭敤鏀舵鍗�", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonorpayment serviceDonorpayment) { @@ -71,7 +69,6 @@ * 鑾峰彇璐圭敤鏀舵鍗曡缁嗕俊鎭� */ @ApiOperation("鑾峰彇璐圭敤鏀舵鍗曡缁嗕俊鎭�") - @PreAuthorize("@ss.hasPermi('system:donorpayment:query')") @GetMapping(value = "/getInfo/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceDonorpaymentService.getById(id)); @@ -81,7 +78,6 @@ * 鏂板璐圭敤鏀舵鍗� */ @ApiOperation("鏂板璐圭敤鏀舵鍗�") - @PreAuthorize("@ss.hasPermi('system:donorpayment:add')") @Log(title = "璐圭敤鏀舵鍗�", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -94,7 +90,6 @@ * 淇敼璐圭敤鏀舵鍗� */ @ApiOperation("淇敼璐圭敤鏀舵鍗�") - @PreAuthorize("@ss.hasPermi('system:donorpayment:edit')") @Log(title = "璐圭敤鏀舵鍗�", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -106,7 +101,7 @@ * 鍒犻櫎璐圭敤鏀舵鍗� */ @ApiOperation("鍒犻櫎璐圭敤鏀舵鍗�") - @PreAuthorize("@ss.hasPermi('system:donorpayment:remove')") + // @PreAuthorize("@ss.hasPermi('system:donorpayment:remove')") @Log(title = "璐圭敤鏀舵鍗�", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { -- Gitblit v1.9.3