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/BaseFinancesubjectController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseFinancesubjectController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseFinancesubjectController.java index ae7aaa2..0b6591a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseFinancesubjectController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/BaseFinancesubjectController.java @@ -36,7 +36,7 @@ * 鏌ヨ鏀跺叆璐圭敤绉戠洰鍒楄〃 */ @ApiOperation("鏌ヨ鏀跺叆璐圭敤绉戠洰鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project::list')") + //// @PreAuthorize("@ss.hasPermi('project::list')") @GetMapping("/list") public TableDataInfo list(BaseFinancesubject baseFinancesubject) { log.info("鏌ヨ鏀跺叆璐圭敤绉戠洰鍒楄〃{}锛�", baseFinancesubject); @@ -50,7 +50,7 @@ * 瀵煎嚭鏀跺叆璐圭敤绉戠洰鍒楄〃 */ @ApiOperation("瀵煎嚭鏀跺叆璐圭敤绉戠洰鍒楄〃") - //@PreAuthorize("@ss.hasPermi('project:financesubject:export')") + //// @PreAuthorize("@ss.hasPermi('project:financesubject:export')") @Log(title = "鏀跺叆璐圭敤绉戠洰", businessType = BusinessType.EXPORT) @GetMapping("/export") public AjaxResult export(BaseFinancesubject baseFinancesubject) { @@ -64,7 +64,7 @@ * 鑾峰彇鏀跺叆璐圭敤绉戠洰璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇鏀跺叆璐圭敤绉戠洰璇︾粏淇℃伅") - //@PreAuthorize("@ss.hasPermi('project:financesubject:query')") + //// @PreAuthorize("@ss.hasPermi('project:financesubject:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { log.info("鑾峰彇鏀跺叆璐圭敤绉戠洰璇︾粏淇℃伅{}锛�", id); @@ -75,7 +75,7 @@ * 鏂板鏀跺叆璐圭敤绉戠洰 */ @ApiOperation("鏂板鏀跺叆璐圭敤绉戠洰") - //@PreAuthorize("@ss.hasPermi('project:financesubject:add')") + //// @PreAuthorize("@ss.hasPermi('project:financesubject:add')") @Log(title = "鏀跺叆璐圭敤绉戠洰", businessType = BusinessType.INSERT) @PostMapping("/add") @RepeatSubmit @@ -90,7 +90,7 @@ * 淇敼鏀跺叆璐圭敤绉戠洰 */ @ApiOperation("淇敼鏀跺叆璐圭敤绉戠洰") - //@PreAuthorize("@ss.hasPermi('project:financesubject:edit')") + //// @PreAuthorize("@ss.hasPermi('project:financesubject:edit')") @Log(title = "鏀跺叆璐圭敤绉戠洰", businessType = BusinessType.UPDATE) @PostMapping("/edit") @RepeatSubmit @@ -103,7 +103,7 @@ * 鍒犻櫎鏀跺叆璐圭敤绉戠洰 */ @ApiOperation("鍒犻櫎鏀跺叆璐圭敤绉戠洰") - //@PreAuthorize("@ss.hasPermi('project:financesubject:remove')") + //// @PreAuthorize("@ss.hasPermi('project:financesubject:remove')") @Log(title = "鏀跺叆璐圭敤绉戠洰", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { -- Gitblit v1.9.3