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/ServiceFundController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java index 3476b1a..6ce60a5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceFundController.java @@ -102,7 +102,7 @@ * 鏌ヨ璐圭敤鐢宠涓诲垪琛� */ @ApiOperation("鏌ヨ璐圭敤鐢宠涓诲垪琛�") - //@PreAuthorize("@ss.hasPermi('project:fund:list')") + //// @PreAuthorize("@ss.hasPermi('project:fund:list')") @GetMapping("/list") public TableDataInfo list(ServiceFund serviceFund) { startPage(); @@ -196,7 +196,7 @@ } @ApiOperation("鏌ヨ璐圭敤鐢宠涓诲垪琛�") - //@PreAuthorize("@ss.hasPermi('project:fund:list')") + //// @PreAuthorize("@ss.hasPermi('project:fund:list')") @GetMapping(value = "/getInfo/{infoid}") public AjaxResult getInfoByInfoId(@PathVariable("infoid") Long infoid) { return AjaxResult.success(serviceFundService.getInfoByInfoId(infoid)); @@ -218,7 +218,7 @@ * 瀵煎嚭璐圭敤鐢宠涓诲垪琛� */ @ApiOperation("瀵煎嚭璐圭敤鐢宠涓诲垪琛�") - //@PreAuthorize("@ss.hasPermi('project:fund:export')") + //// @PreAuthorize("@ss.hasPermi('project:fund:export')") @Log(title = "璐圭敤鐢宠涓�", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceFund serviceFund) { @@ -232,7 +232,7 @@ * 鑾峰彇璐圭敤鐢宠涓昏缁嗕俊鎭� */ @ApiOperation("鑾峰彇璐圭敤鐢宠涓昏缁嗕俊鎭�") - //@PreAuthorize("@ss.hasPermi('project:fund:query')") + //// @PreAuthorize("@ss.hasPermi('project:fund:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceFundService.getById(id)); @@ -242,7 +242,7 @@ * 鏂板璐圭敤鐢宠涓� */ @ApiOperation("鏂板璐圭敤鐢宠涓�") - //@PreAuthorize("@ss.hasPermi('project:fund:add')") + //// @PreAuthorize("@ss.hasPermi('project:fund:add')") @Log(title = "璐圭敤鐢宠涓�", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -571,7 +571,7 @@ * 鍒犻櫎璐圭敤鐢宠涓� */ @ApiOperation("鍒犻櫎璐圭敤鐢宠涓�") - //@PreAuthorize("@ss.hasPermi('project:fund:remove')") + //// @PreAuthorize("@ss.hasPermi('project:fund:remove')") @Log(title = "璐圭敤鐢宠涓�", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { -- Gitblit v1.9.3