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/TjTollCollectorController.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjTollCollectorController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjTollCollectorController.java
index 55bdca0..0468706 100644
--- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjTollCollectorController.java
+++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjTollCollectorController.java
@@ -62,7 +62,7 @@
     /**
      * 鏌ヨ鏀惰垂鍛樻棩缁撳垪琛�
      */
-    @PreAuthorize("@ss.hasPermi('hosp:collector:list')")
+    //@PreAuthorize("@ss.hasPermi('hosp:collector:list')")
     @GetMapping("/list")
     @ApiOperation(value = "鏌ヨ鏀惰垂鍛樻棩缁撳垪琛�")
     public AjaxResult list(@RequestParam(required = false) @ApiParam(value = "鏀惰垂鍛榠d") String tollCollectorId,
@@ -103,7 +103,7 @@
     /**
      * 瀵煎嚭鏀惰垂鍛樻棩缁撳垪琛�
      */
-    @PreAuthorize("@ss.hasPermi('hosp:collector:export')")
+    //@PreAuthorize("@ss.hasPermi('hosp:collector:export')")
     @Log(title = "鏀惰垂鍛樻棩缁�", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     @ApiOperation(value = "瀵煎嚭鏀惰垂鍛樻棩缁撳垪琛�")
@@ -116,7 +116,7 @@
     /**
      * 鑾峰彇鏀惰垂鍛樻棩缁撹缁嗕俊鎭�
      */
-    @PreAuthorize("@ss.hasPermi('hosp:collector:query')")
+    // @PreAuthorize("@ss.hasPermi('hosp:collector:query')")
     @GetMapping(value = "/{id}")
     @ApiOperation(value = "鑾峰彇鏀惰垂鍛樻棩缁撹缁嗕俊鎭�")
     public AjaxResult getInfo(@PathVariable("id") String id) {
@@ -126,7 +126,7 @@
     /**
      * 鐐瑰嚮缁撶畻 鏂板鏀惰垂鍛樻棩缁�
      */
-    @PreAuthorize("@ss.hasPermi('hosp:collector:add')")
+    //@PreAuthorize("@ss.hasPermi('hosp:collector:add')")
     @Log(title = "鏀惰垂鍛樻棩缁�", businessType = BusinessType.INSERT)
     @PostMapping
     @ApiOperation(value = "鐐瑰嚮缁撶畻 鏂板鏀惰垂鍛樻棩缁�")
@@ -150,7 +150,7 @@
     }
 
 
-    @PreAuthorize("@ss.hasPermi('hosp:collector:remove')")
+    //@PreAuthorize("@ss.hasPermi('hosp:collector:remove')")
     @DeleteMapping("/removeTjTollCollectorById")
     @ApiOperation(value = "鏀惰垂鍛樻挙閿�璐﹀崟鎿嶄綔鎺ュ彛")
     public AjaxResult removeTjTollCollectorById(@RequestParam @ApiParam(value = "缁撹处id") String id,

--
Gitblit v1.8.0