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/ServiceDonateorganstaticsController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java index 88e0f72..34d89d3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java @@ -35,7 +35,7 @@ * 鏌ヨ鎹愮尞妗堜緥鍣ㄥ畼鍒楀垪琛� */ @ApiOperation("鏌ヨ鎹愮尞妗堜緥鍣ㄥ畼鍒楀垪琛�") - @PreAuthorize("@ss.hasPermi('project:donateorganstatics:list')") + // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonateorganstatics serviceDonateorganstatics) { startPage(); @@ -47,7 +47,7 @@ * 瀵煎嚭鎹愮尞妗堜緥鍣ㄥ畼鍒楀垪琛� */ @ApiOperation("瀵煎嚭鎹愮尞妗堜緥鍣ㄥ畼鍒楀垪琛�") - @PreAuthorize("@ss.hasPermi('project:donateorganstatics:export')") + // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:export')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonateorganstatics serviceDonateorganstatics) { @@ -60,7 +60,7 @@ * 鑾峰彇鎹愮尞妗堜緥鍣ㄥ畼鍒楄缁嗕俊鎭� */ @ApiOperation("鑾峰彇鎹愮尞妗堜緥鍣ㄥ畼鍒楄缁嗕俊鎭�") - @PreAuthorize("@ss.hasPermi('project:donateorganstatics:query')") + // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:query')") @GetMapping(value = "/getInfo/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceDonateorganstaticsService.getById(id)); @@ -70,7 +70,7 @@ * 鏂板鎹愮尞妗堜緥鍣ㄥ畼鍒� */ @ApiOperation("鏂板鎹愮尞妗堜緥鍣ㄥ畼鍒�") - @PreAuthorize("@ss.hasPermi('project:donateorganstatics:add')") + // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:add')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -83,7 +83,7 @@ * 淇敼鎹愮尞妗堜緥鍣ㄥ畼鍒� */ @ApiOperation("淇敼鎹愮尞妗堜緥鍣ㄥ畼鍒�") - @PreAuthorize("@ss.hasPermi('project:donateorganstatics:edit')") + // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:edit')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -95,7 +95,7 @@ * 鍒犻櫎鎹愮尞妗堜緥鍣ㄥ畼鍒� */ @ApiOperation("鍒犻櫎鎹愮尞妗堜緥鍣ㄥ畼鍒�") - @PreAuthorize("@ss.hasPermi('project:donateorganstatics:remove')") + // @PreAuthorize("@ss.hasPermi('project:donateorganstatics:remove')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { -- Gitblit v1.9.3