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/SysStudentController.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysStudentController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysStudentController.java
index 5bff8ca..840d3ef 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysStudentController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysStudentController.java
@@ -36,7 +36,7 @@
     /**
      * 鏌ヨ瀛︾敓淇℃伅鍒楄〃
      */
-    @PreAuthorize("@ss.hasPermi('system:student:list')")
+    // @PreAuthorize("@ss.hasPermi('system:student:list')")
     @GetMapping("/list")
     public TableDataInfo list(SysStudent sysStudent) {
         startPage();
@@ -102,7 +102,7 @@
     /**
      * 瀵煎嚭瀛︾敓淇℃伅鍒楄〃
      */
-    @PreAuthorize("@ss.hasPermi('system:student:export')")
+    // @PreAuthorize("@ss.hasPermi('system:student:export')")
     @Log(title = "瀛︾敓淇℃伅", businessType = BusinessType.EXPORT)
     @GetMapping("/export")
     public AjaxResult export(SysStudent sysStudent) {
@@ -114,7 +114,7 @@
     /**
      * 鑾峰彇瀛︾敓淇℃伅璇︾粏淇℃伅
      */
-    @PreAuthorize("@ss.hasPermi('system:student:query')")
+    // @PreAuthorize("@ss.hasPermi('system:student:query')")
     @GetMapping(value = "/{studentId}")
     public AjaxResult getInfo(@PathVariable("studentId") Long studentId) {
         return AjaxResult.success(sysStudentService.getById(studentId));
@@ -123,7 +123,7 @@
     /**
      * 鏂板瀛︾敓淇℃伅
      */
-    @PreAuthorize("@ss.hasPermi('system:student:add')")
+    // @PreAuthorize("@ss.hasPermi('system:student:add')")
     @Log(title = "瀛︾敓淇℃伅", businessType = BusinessType.INSERT)
     @PostMapping
     @RepeatSubmit
@@ -134,7 +134,7 @@
     /**
      * 淇敼瀛︾敓淇℃伅
      */
-    @PreAuthorize("@ss.hasPermi('system:student:edit')")
+    // @PreAuthorize("@ss.hasPermi('system:student:edit')")
     @Log(title = "瀛︾敓淇℃伅", businessType = BusinessType.UPDATE)
     @PostMapping("/edit")
     @RepeatSubmit
@@ -145,7 +145,7 @@
     /**
      * 鍒犻櫎瀛︾敓淇℃伅
      */
-    @PreAuthorize("@ss.hasPermi('system:student:remove')")
+    // @PreAuthorize("@ss.hasPermi('system:student:remove')")
     @Log(title = "瀛︾敓淇℃伅", businessType = BusinessType.DELETE)
     @GetMapping("/remove/{studentIds}")
     public AjaxResult remove(@PathVariable Long[] studentIds) {

--
Gitblit v1.9.3