From 9ea8edde96272e14b0deacb81996a65c4fcb5285 Mon Sep 17 00:00:00 2001
From: lige <bestlige@outlook.com>
Date: 星期三, 13 九月 2023 16:49:18 +0800
Subject: [PATCH] 修改接口权限

---
 ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysPostController.java |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysPostController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysPostController.java
index 2874467..422d0d4 100644
--- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysPostController.java
+++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/SysPostController.java
@@ -38,7 +38,7 @@
     /**
      * 鑾峰彇宀椾綅鍒楄〃
      */
-    @PreAuthorize("@ss.hasPermi('system:post:list')")
+//    @PreAuthorize("@ss.hasPermi('system:post:list')")
     @GetMapping("/list")
     public TableDataInfo list(SysPost post) {
         startPage();
@@ -47,7 +47,7 @@
     }
 
     @Log(title = "宀椾綅绠$悊", businessType = BusinessType.EXPORT)
-    @PreAuthorize("@ss.hasPermi('system:post:export')")
+//    @PreAuthorize("@ss.hasPermi('system:post:export')")
     @PostMapping("/export")
     public void export(HttpServletResponse response, SysPost post) {
         List<SysPost> list = postService.selectPostList(post);
@@ -58,7 +58,7 @@
     /**
      * 鏍规嵁宀椾綅缂栧彿鑾峰彇璇︾粏淇℃伅
      */
-    @PreAuthorize("@ss.hasPermi('system:post:query')")
+//    @PreAuthorize("@ss.hasPermi('system:post:query')")
     @GetMapping(value = "/{postId}")
     public AjaxResult getInfo(@PathVariable Long postId) {
         return success(postService.selectPostById(postId));
@@ -67,7 +67,7 @@
     /**
      * 鏂板宀椾綅
      */
-    @PreAuthorize("@ss.hasPermi('system:post:add')")
+//    @PreAuthorize("@ss.hasPermi('system:post:add')")
     @Log(title = "宀椾綅绠$悊", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@Validated @RequestBody SysPost post) {
@@ -83,7 +83,7 @@
     /**
      * 淇敼宀椾綅
      */
-    @PreAuthorize("@ss.hasPermi('system:post:edit')")
+//    @PreAuthorize("@ss.hasPermi('system:post:edit')")
     @Log(title = "宀椾綅绠$悊", businessType = BusinessType.UPDATE)
     @PutMapping
     public AjaxResult edit(@Validated @RequestBody SysPost post) {
@@ -99,7 +99,7 @@
     /**
      * 鍒犻櫎宀椾綅
      */
-    @PreAuthorize("@ss.hasPermi('system:post:remove')")
+//    @PreAuthorize("@ss.hasPermi('system:post:remove')")
     @Log(title = "宀椾綅绠$悊", businessType = BusinessType.DELETE)
     @DeleteMapping("/{postIds}")
     public AjaxResult remove(@PathVariable Long[] postIds) {

--
Gitblit v1.8.0