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/system/SysGradeController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java index 7dacc05..9816ac5 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysGradeController.java @@ -39,7 +39,7 @@ /** * 鏌ヨ骞寸骇淇℃伅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:grade:list')") + // @PreAuthorize("@ss.hasPermi('system:grade:list')") @GetMapping("/list") public TableDataInfo list(SysGrade sysGrade) { @@ -51,7 +51,7 @@ /** * 瀵煎嚭骞寸骇淇℃伅鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:grade:export')") + // @PreAuthorize("@ss.hasPermi('system:grade:export')") @Log(title = "骞寸骇淇℃伅", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(SysGrade sysGrade) @@ -64,7 +64,7 @@ /** * 鑾峰彇骞寸骇淇℃伅璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:grade:query')") + // @PreAuthorize("@ss.hasPermi('system:grade:query')") @GetMapping(value = "/{gradeId}") public AjaxResult getInfo(@PathVariable("gradeId") Long gradeId) { @@ -74,7 +74,7 @@ /** * 鏂板骞寸骇淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:grade:add')") + // @PreAuthorize("@ss.hasPermi('system:grade:add')") @Log(title = "骞寸骇淇℃伅", businessType = BusinessType.INSERT) @PostMapping @RepeatSubmit @@ -86,7 +86,7 @@ /** * 淇敼骞寸骇淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:grade:edit')") + // @PreAuthorize("@ss.hasPermi('system:grade:edit')") @Log(title = "骞寸骇淇℃伅", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -98,7 +98,7 @@ /** * 鍒犻櫎骞寸骇淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:grade:remove')") + // @PreAuthorize("@ss.hasPermi('system:grade:remove')") @Log(title = "骞寸骇淇℃伅", businessType = BusinessType.DELETE) @GetMapping("/remove/{gradeIds}") public AjaxResult remove(@PathVariable Long[] gradeIds) -- Gitblit v1.9.3