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/project/BaseAnnextypeController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseAnnextypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseAnnextypeController.java index e91e5fe..47390ca 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseAnnextypeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseAnnextypeController.java @@ -41,7 +41,7 @@ * 鏌ヨ鎹愮尞闄勪欢鍒楄〃 */ @ApiOperation("鏌ヨ鎹愮尞闄勪欢鍒楄〃") - @PreAuthorize("@ss.hasPermi('system:annextype:list')") + // @PreAuthorize("@ss.hasPermi('system:annextype:list')") @GetMapping("/list") public TableDataInfo list(BaseAnnextype baseAnnextype) { startPage(); @@ -53,7 +53,7 @@ * 瀵煎嚭鎹愮尞闄勪欢鍒楄〃 */ @ApiOperation("瀵煎嚭鎹愮尞闄勪欢鍒楄〃") - @PreAuthorize("@ss.hasPermi('system:annextype:export')") + // @PreAuthorize("@ss.hasPermi('system:annextype:export')") @Log(title = "鎹愮尞闄勪欢", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(BaseAnnextype baseAnnextype) { @@ -67,7 +67,7 @@ * 鑾峰彇鎹愮尞闄勪欢璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鎹愮尞闄勪欢璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('system:annextype:query')") + // @PreAuthorize("@ss.hasPermi('system:annextype:query')") @GetMapping(value = "/getInfo/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { log.info("鑾峰彇鎹愮尞闄勪欢璇︾粏淇℃伅{}锛�", id); @@ -79,7 +79,7 @@ * 鏂板鎹愮尞闄勪欢 */ @ApiOperation("鏂板鎹愮尞闄勪欢") - @PreAuthorize("@ss.hasPermi('system:annextype:add')") + // @PreAuthorize("@ss.hasPermi('system:annextype:add')") @Log(title = "鎹愮尞闄勪欢", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -97,7 +97,7 @@ * 淇敼鎹愮尞闄勪欢 */ @ApiOperation("淇敼鎹愮尞闄勪欢") - @PreAuthorize("@ss.hasPermi('system:annextype:edit')") + // @PreAuthorize("@ss.hasPermi('system:annextype:edit')") @Log(title = "鎹愮尞闄勪欢", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -114,7 +114,7 @@ * 鍒犻櫎鎹愮尞闄勪欢 */ @ApiOperation("鍒犻櫎鎹愮尞闄勪欢") - @PreAuthorize("@ss.hasPermi('system:annextype:remove')") + // @PreAuthorize("@ss.hasPermi('system:annextype:remove')") @Log(title = "鎹愮尞闄勪欢", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { -- Gitblit v1.9.3