From 618517e7ad4e3e7e9865c324cdabd90bf8ef8d17 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 21 三月 2024 16:54:14 +0800 Subject: [PATCH] 核算权限注释 --- ycl-server/src/main/java/com/ycl/platform/controller/AccountingRulesController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/platform/controller/AccountingRulesController.java b/ycl-server/src/main/java/com/ycl/platform/controller/AccountingRulesController.java index dba521e..3f10f75 100644 --- a/ycl-server/src/main/java/com/ycl/platform/controller/AccountingRulesController.java +++ b/ycl-server/src/main/java/com/ycl/platform/controller/AccountingRulesController.java @@ -30,7 +30,7 @@ /** * 鏌ヨ鏍哥畻瑙勫垯鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('platform:rules:list')") +// @PreAuthorize("@ss.hasPermi('platform:rules:list')") @GetMapping("/list") public TableDataInfo list(AccountingRules accountingRules) { startPage(); @@ -41,7 +41,7 @@ /** * 瀵煎嚭鏍哥畻瑙勫垯鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('platform:rules:export')") +// @PreAuthorize("@ss.hasPermi('platform:rules:export')") @Log(title = "鏍哥畻瑙勫垯", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, AccountingRules accountingRules) { @@ -53,7 +53,7 @@ /** * 鑾峰彇鏍哥畻瑙勫垯璇︾粏淇℃伅 */ - @PreAuthorize("@ss.hasPermi('platform:rules:query')") +// @PreAuthorize("@ss.hasPermi('platform:rules:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Integer id) { return success(accountingRulesService.selectAccountingRulesById(id)); @@ -62,7 +62,7 @@ /** * 鏂板鏍哥畻瑙勫垯 */ - @PreAuthorize("@ss.hasPermi('platform:rules:add')") +// @PreAuthorize("@ss.hasPermi('platform:rules:add')") @Log(title = "鏍哥畻瑙勫垯", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody AccountingRules accountingRules) { @@ -72,7 +72,7 @@ /** * 淇敼鏍哥畻瑙勫垯 */ - @PreAuthorize("@ss.hasPermi('platform:rules:edit')") +// @PreAuthorize("@ss.hasPermi('platform:rules:edit')") @Log(title = "鏍哥畻瑙勫垯", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody AccountingRules accountingRules) { @@ -82,7 +82,7 @@ /** * 鍒犻櫎鏍哥畻瑙勫垯 */ - @PreAuthorize("@ss.hasPermi('platform:rules:remove')") +// @PreAuthorize("@ss.hasPermi('platform:rules:remove')") @Log(title = "鏍哥畻瑙勫垯", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Integer[] ids) { -- Gitblit v1.8.0