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/ServiceReimbursementSharedController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementSharedController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementSharedController.java index 18c8ba9..bb21024 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementSharedController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementSharedController.java @@ -36,7 +36,7 @@ * 鏌ヨ鎶ラ攢鐢宠鍒楄〃 */ @ApiOperation("鏌ヨ鎶ラ攢鐢宠鍒楄〃") - //@PreAuthorize("@ss.hasPermi('system:shared:list')") + //// @PreAuthorize("@ss.hasPermi('system:shared:list')") @GetMapping("/list") public TableDataInfo list(ServiceReimbursementShared serviceReimbursementShared) { @@ -49,7 +49,7 @@ * 瀵煎嚭鎶ラ攢鐢宠鍒楄〃 */ @ApiOperation("瀵煎嚭鎶ラ攢鐢宠鍒楄〃") - //@PreAuthorize("@ss.hasPermi('system:shared:export')") + //// @PreAuthorize("@ss.hasPermi('system:shared:export')") @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceReimbursementShared serviceReimbursementShared) @@ -63,7 +63,7 @@ * 鑾峰彇鎶ラ攢鐢宠璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鎶ラ攢鐢宠璇︾粏淇℃伅") - //@PreAuthorize("@ss.hasPermi('system:shared:query')") + //// @PreAuthorize("@ss.hasPermi('system:shared:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { @@ -74,7 +74,7 @@ // * 鏂板鎶ラ攢鐢宠 // */ // @ApiOperation("鏂板鎶ラ攢鐢宠") -// //@PreAuthorize("@ss.hasPermi('system:shared:add')") +// //// @PreAuthorize("@ss.hasPermi('system:shared:add')") // @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.INSERT) // @PostMapping // @RepeatSubmit @@ -87,7 +87,7 @@ * 淇敼鎶ラ攢鐢宠 */ @ApiOperation("淇敼鎶ラ攢鐢宠") - //@PreAuthorize("@ss.hasPermi('system:shared:edit')") + //// @PreAuthorize("@ss.hasPermi('system:shared:edit')") @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.UPDATE) @PutMapping @RepeatSubmit @@ -100,7 +100,7 @@ * 鍒犻櫎鎶ラ攢鐢宠 */ @ApiOperation("鍒犻櫎鎶ラ攢鐢宠") - @PreAuthorize("@ss.hasPermi('system:shared:remove')") + // @PreAuthorize("@ss.hasPermi('system:shared:remove')") @Log(title = "鎶ラ攢鐢宠", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) -- Gitblit v1.9.3