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/DictSsdmController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSsdmController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSsdmController.java index aacd0e8..1059915 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSsdmController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/system/DictSsdmController.java @@ -40,7 +40,7 @@ /** * 鏌ヨ鎵嬫湳缂栫爜鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:ssdm:list')") +// @PreAuthorize("@ss.hasPermi('system:ssdm:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ") public TableDataInfo list(DictSsdm dictSsdm) { @@ -52,7 +52,7 @@ /** * 瀵煎嚭鎵嬫湳缂栫爜鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('system:ssdm:export')") +// @PreAuthorize("@ss.hasPermi('system:ssdm:export')") @Log(title = "鎵嬫湳缂栫爜", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation(value = "瀵煎嚭") @@ -65,7 +65,7 @@ /** * 鑾峰彇鎵嬫湳缂栫爜璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('system:ssdm:query')") +// @PreAuthorize("@ss.hasPermi('system:ssdm:query')") @GetMapping(value = "/{id}") @ApiOperation(value = "璇︾粏淇℃伅") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -75,7 +75,7 @@ /** * 鏂板鎵嬫湳缂栫爜 */ - @PreAuthorize("@ss.hasPermi('system:ssdm:add')") +// @PreAuthorize("@ss.hasPermi('system:ssdm:add')") @Log(title = "鎵嬫湳缂栫爜", businessType = BusinessType.INSERT) @PostMapping @ApiOperation(value = "鏂板") @@ -86,7 +86,7 @@ /** * 淇敼鎵嬫湳缂栫爜 */ - @PreAuthorize("@ss.hasPermi('system:ssdm:edit')") +// @PreAuthorize("@ss.hasPermi('system:ssdm:edit')") @Log(title = "鎵嬫湳缂栫爜", businessType = BusinessType.UPDATE) @PutMapping @ApiOperation(value = "淇敼") @@ -97,7 +97,7 @@ /** * 鍒犻櫎鎵嬫湳缂栫爜 */ - @PreAuthorize("@ss.hasPermi('system:ssdm:remove')") +// @PreAuthorize("@ss.hasPermi('system:ssdm:remove')") @Log(title = "鎵嬫湳缂栫爜", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") @ApiOperation(value = "鍒犻櫎") -- Gitblit v1.8.0