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/TjRulesController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRulesController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRulesController.java index 43ac36a..a2eb643 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRulesController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjRulesController.java @@ -52,7 +52,7 @@ /** * 鏌ヨ瑙勫垯+鐥呯鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:rules:list')") + //@PreAuthorize("@ss.hasPermi('hosp:rules:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ瑙勫垯+鐥呯鍒楄〃") public TableDataInfo list(TjRules tjRules) { @@ -129,7 +129,7 @@ /** * 瀵煎嚭瑙勫垯+鐥呯鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('hosp:rules:export')") + //@PreAuthorize("@ss.hasPermi('hosp:rules:export')") @Log(title = "瑙勫垯+鐥呯", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭瑙勫垯+鐥呯鍒楄〃") @@ -158,7 +158,7 @@ /** * 鑾峰彇瑙勫垯+鐥呯璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('hosp:rules:query')") + //@PreAuthorize("@ss.hasPermi('hosp:rules:query')") @GetMapping(value = "/{aid}") @ApiOperation(value = "鑾峰彇瑙勫垯+鐥呯璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("aid") String aid) { @@ -168,7 +168,7 @@ /** * 鏂板瑙勫垯+鐥呯 */ - @PreAuthorize("@ss.hasPermi('hosp:rules:add')") + // @PreAuthorize("@ss.hasPermi('hosp:rules:add')") @Log(title = "瑙勫垯+鐥呯", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板瑙勫垯+鐥呯") @@ -179,7 +179,7 @@ /** * 淇敼瑙勫垯+鐥呯 */ - @PreAuthorize("@ss.hasPermi('hosp:rules:edit')") + //@PreAuthorize("@ss.hasPermi('hosp:rules:edit')") @Log(title = "瑙勫垯+鐥呯", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼瑙勫垯+鐥呯") @@ -190,7 +190,7 @@ /** * 鍒犻櫎瑙勫垯+鐥呯 */ - @PreAuthorize("@ss.hasPermi('hosp:rules:remove')") + //@PreAuthorize("@ss.hasPermi('hosp:rules:remove')") @Log(title = "瑙勫垯+鐥呯", businessType = BusinessType.DELETE) @DeleteMapping("/{aids}") @ApiOperation(value = "鍒犻櫎瑙勫垯+鐥呯") -- Gitblit v1.8.0