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/ServiceDonatecompletioninfoController.java | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecompletioninfoController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecompletioninfoController.java index bb29157..0c05ca2 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecompletioninfoController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatecompletioninfoController.java @@ -63,7 +63,7 @@ * 鏌ヨ鎹愮尞瀹屾垚鍒楄〃 */ @ApiOperation("鏌ヨ鎹愮尞瀹屾垚鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:list')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:list')") @GetMapping("/list") public TableDataInfo list(ServiceDonatecompletioninfo serviceDonatecompletioninfo) { log.info("鏌ヨ鎹愮尞瀹屾垚鍒楄〃锛歿}", serviceDonatecompletioninfo); @@ -87,7 +87,7 @@ * 瀵煎嚭鎹愮尞瀹屾垚鍒楄〃 */ @ApiOperation("瀵煎嚭鎹愮尞瀹屾垚鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:export')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:export')") @Log(title = "鎹愮尞瀹屾垚", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceDonatecompletioninfo serviceDonatecompletioninfo) { @@ -101,7 +101,7 @@ * 鑾峰彇鎹愮尞瀹屾垚璇︾粏淇℃伅 */ @ApiOperation("閫氳繃id鑾峰彇鏌愪竴鏉℃崘鐚畬鎴愪俊鎭�") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:query')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { log.info("閫氳繃id鑾峰彇鏌愪竴鏉℃崘鐚畬鎴愪俊鎭細{}", id); @@ -112,7 +112,7 @@ * 鏂板鎹愮尞瀹屾垚 */ @ApiOperation("鏂板鎹愮尞瀹屾垚") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") @Log(title = "鎹愮尞瀹屾垚", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit(interval = 5000) @@ -128,7 +128,7 @@ // * 鏂板鎹愮尞瀹屾垚璇︽儏 // */ // @ApiOperation("鏂板鎹愮尞瀹屾垚璇︽儏") -// //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") +// //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:add')") // @Log(title = "鏂板鎹愮尞瀹屾垚璇︽儏", businessType = BusinessType.INSERT) // @PostMapping // @RepeatSubmit(interval = 5000) @@ -149,7 +149,7 @@ @RepeatSubmit @ApiOperation("鏂板鎴栦慨鏀规崘鐚畬鎴�") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") @Log(title = "鎹愮尞瀹屾垚", businessType = BusinessType.UPDATE) @PostMapping("/saveOrUpdateDonatecompletioninfo") public AjaxResult saveOrUpdateDonatecompletioninfo(@RequestBody List<ServiceDonatecompletioninfo> serviceDonatecompletioninfoList) { @@ -173,7 +173,7 @@ */ @RepeatSubmit @ApiOperation("淇敼鎹愮尞瀹屾垚") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:edit')") @Log(title = "鎹愮尞瀹屾垚", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@RequestBody ServiceDonatecompletioninfo serviceDonatecompletioninfo) { @@ -191,7 +191,7 @@ * 鍒犻櫎鎹愮尞瀹屾垚 */ @ApiOperation("鍒犻櫎鎹愮尞瀹屾垚") - //@PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:remove')") + //// @PreAuthorize("@ss.hasPermi('project:donatecompletioninfo:remove')") @Log(title = "鎹愮尞瀹屾垚", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { -- Gitblit v1.9.3