From f55c563e2a0b52e4569ce6b5f81632cac598f7fe Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 30 十月 2024 18:36:55 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatArchivetagController.java | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatArchivetagController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatArchivetagController.java index 1250253..e6ad211 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatArchivetagController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatArchivetagController.java @@ -11,8 +11,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; @@ -40,7 +38,7 @@ /** * 鏌ヨ鎮h�呮。妗堟爣绛惧垪琛� */ - @PreAuthorize("@ss.hasPermi('system:archivetag:list')") + //@PreAuthorize("@ss.hasPermi('system:archivetag:list')") @PostMapping("/list") @ApiOperation("鏌ヨ鎮h�呮。妗堟爣绛惧垪琛�") public TableDataInfo list(@RequestBody PatArchivetag patArchivetag) { @@ -52,7 +50,7 @@ /** * 瀵煎嚭鎮h�呮。妗堟爣绛惧垪琛� */ - @PreAuthorize("@ss.hasPermi('system:archivetag:export')") + //@PreAuthorize("@ss.hasPermi('system:archivetag:export')") @PostMapping("/export") @ApiOperation("瀵煎嚭鎮h�呮。妗堟爣绛惧垪琛�") public void export(HttpServletResponse response, PatArchivetag patArchivetag) { @@ -65,7 +63,7 @@ * 鑾峰彇鎮h�呮。妗堟爣绛捐缁嗕俊鎭� */ @ApiOperation("鑾峰彇鎮h�呮。妗堟爣绛捐缁嗕俊鎭�") - @PreAuthorize("@ss.hasPermi('system:archivetag:query')") + //@PreAuthorize("@ss.hasPermi('system:archivetag:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return success(patArchivetagService.selectPatArchivetagById(id)); @@ -74,7 +72,7 @@ /** * 鏂板鎮h�呮。妗堟爣绛� */ - @PreAuthorize("@ss.hasPermi('system:archivetag:add')") + //@PreAuthorize("@ss.hasPermi('system:archivetag:add')") @ApiOperation("鏂板鎮h�呮。妗堟爣绛�") @PostMapping("/add") public AjaxResult add(@RequestBody PatArchivetag patArchivetag) { @@ -84,7 +82,7 @@ /** * 淇敼鎮h�呮。妗堟爣绛� */ - @PreAuthorize("@ss.hasPermi('system:archivetag:edit')") + //@PreAuthorize("@ss.hasPermi('system:archivetag:edit')") @ApiOperation("淇敼鎮h�呮。妗堟爣绛�") @PostMapping("/edit") public AjaxResult edit(@RequestBody PatArchivetag patArchivetag) { @@ -94,7 +92,7 @@ /** * 鍒犻櫎鎮h�呮。妗堟爣绛� */ - @PreAuthorize("@ss.hasPermi('system:archivetag:remove')") + //@PreAuthorize("@ss.hasPermi('system:archivetag:remove')") @ApiOperation("鍒犻櫎鎮h�呮。妗堟爣绛�") @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { -- Gitblit v1.9.3