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/ServiceOrganallocationController.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceOrganallocationController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceOrganallocationController.java index 24d25be..2cf1e31 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceOrganallocationController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceOrganallocationController.java @@ -37,7 +37,7 @@ * 鏌ヨ鍣ㄥ畼鍒嗛厤鍒楄〃 */ @ApiOperation("鍣ㄥ畼鍒嗛厤淇℃伅鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:organallocation:list')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:list')") @GetMapping("/list") public TableDataInfo list(ServiceOrganallocation serviceOrganallocation) { startPage(); @@ -50,7 +50,7 @@ * 瀵煎嚭鍣ㄥ畼鍒嗛厤鍒楄〃 */ @ApiOperation("瀵煎嚭鍣ㄥ畼鍒嗛厤淇℃伅鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:organallocation:export')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:export')") @Log(title = "鍣ㄥ畼鍒嗛厤", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(ServiceOrganallocation serviceOrganallocation) { @@ -63,7 +63,7 @@ * 鑾峰彇鍣ㄥ畼鍒嗛厤璇︾粏淇℃伅 */ @ApiOperation("閫氳繃id鑾峰彇鍣ㄥ畼鍒嗛厤淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organallocation:query')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceOrganallocationService.getById(id)); @@ -73,7 +73,7 @@ * 鏂板鍣ㄥ畼鍒嗛厤 */ @ApiOperation("鏂板鍣ㄥ畼鍒嗛厤淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organallocation:add')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:add')") @Log(title = "鍣ㄥ畼鍒嗛厤", businessType = BusinessType.INSERT) @PostMapping @NotRepeatCommit(key = "param:arg[1]", value = 30000) @@ -97,7 +97,7 @@ * 淇敼鍣ㄥ畼鍒嗛厤 */ @ApiOperation("淇敼鍣ㄥ畼鍒嗛厤淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organallocation:edit')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:edit')") @Log(title = "鍣ㄥ畼鍒嗛厤", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -109,7 +109,7 @@ * 淇敼鍣ㄥ畼鍒嗛厤 */ @ApiOperation("淇敼鍣ㄥ畼鍒嗛厤淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organallocation:edit')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:edit')") @Log(title = "鍣ㄥ畼鍒嗛厤", businessType = BusinessType.UPDATE) @PostMapping("/editarraydata") @RepeatSubmit @@ -121,7 +121,7 @@ * 鍒犻櫎鍣ㄥ畼鍒嗛厤 */ @ApiOperation("鍒犻櫎鍣ㄥ畼鍒嗛厤淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:organallocation:remove')") + //// @PreAuthorize("@ss.hasPermi('project:organallocation:remove')") @Log(title = "鍣ㄥ畼鍒嗛厤", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { -- Gitblit v1.9.3