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/ServiceExternalpersonGroupController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonGroupController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonGroupController.java index fd61ed4..88a114f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonGroupController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonGroupController.java @@ -35,7 +35,7 @@ // * 鏌ヨ浜哄憳鍜屽垎缁勭粍鍒叧鑱斿垪琛� // */ // @ApiOperation("鏌ヨ浜哄憳鍜屽垎缁勭粍鍒叧鑱斿垪琛�") -// @PreAuthorize("@ss.hasPermi('system:group:list')") +// // @PreAuthorize("@ss.hasPermi('system:group:list')") // @GetMapping("/list") // public TableDataInfo list(ServiceExternalpersonGroup serviceExternalpersonGroup) { // startPage(); @@ -61,7 +61,7 @@ * 瀵煎嚭浜哄憳鍜屽垎缁勭粍鍒叧鑱斿垪琛� */ @ApiOperation("瀵煎嚭浜哄憳鍜屽垎缁勭粍鍒叧鑱斿垪琛�") - @PreAuthorize("@ss.hasPermi('system:group:export')") + // @PreAuthorize("@ss.hasPermi('system:group:export')") @Log(title = "浜哄憳鍜屽垎缁勭粍鍒叧鑱�", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceExternalpersonGroup serviceExternalpersonGroup) { @@ -74,7 +74,7 @@ * 鑾峰彇浜哄憳鍜屽垎缁勭粍鍒叧鑱旇缁嗕俊鎭� */ @ApiOperation("鑾峰彇浜哄憳鍜屽垎缁勭粍鍒叧鑱旇缁嗕俊鎭�") - @PreAuthorize("@ss.hasPermi('system:group:query')") + // @PreAuthorize("@ss.hasPermi('system:group:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceExternalpersonGroupService.getById(id)); @@ -84,7 +84,7 @@ * 鏂板浜哄憳鍜屽垎缁勭粍鍒叧鑱� */ @ApiOperation("鏂板浜哄憳鍜屽垎缁勭粍鍒叧鑱�") - @PreAuthorize("@ss.hasPermi('system:group:add')") + // @PreAuthorize("@ss.hasPermi('system:group:add')") @Log(title = "浜哄憳鍜屽垎缁勭粍鍒叧鑱�", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -97,7 +97,7 @@ * 淇敼浜哄憳鍜屽垎缁勭粍鍒叧鑱� */ @ApiOperation("淇敼浜哄憳鍜屽垎缁勭粍鍒叧鑱�") - @PreAuthorize("@ss.hasPermi('system:group:edit')") + // @PreAuthorize("@ss.hasPermi('system:group:edit')") @Log(title = "浜哄憳鍜屽垎缁勭粍鍒叧鑱�", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -109,7 +109,7 @@ * 鍒犻櫎浜哄憳鍜屽垎缁勭粍鍒叧鑱� */ @ApiOperation("鍒犻櫎浜哄憳鍜屽垎缁勭粍鍒叧鑱�") - @PreAuthorize("@ss.hasPermi('system:group:remove')") + // @PreAuthorize("@ss.hasPermi('system:group:remove')") @Log(title = "浜哄憳鍜屽垎缁勭粍鍒叧鑱�", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { -- Gitblit v1.9.3