From 907641e56c2085aaa81f267946dc3e3e9fca73e7 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 18 九月 2024 09:39:02 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/BaseTagController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/BaseTagController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/BaseTagController.java index b51a332..390ba15 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/BaseTagController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/BaseTagController.java @@ -44,7 +44,7 @@ * 鏌ヨ鏍囩鍒楄〃 */ @ApiOperation("鏌ヨ鏍囩鍒楄〃") - @PreAuthorize("@ss.hasPermi('system:tag:list')") + //@PreAuthorize("@ss.hasPermi('system:tag:list')") @PostMapping("/list") public TableDataInfo list(@RequestBody BaseTag baseTag) { PageUtils.startPageByPost(baseTag.getPageNum(), baseTag.getPageSize()); @@ -57,7 +57,7 @@ * 瀵煎嚭鏍囩鍒楄〃 */ @ApiOperation("瀵煎嚭鏍囩鍒楄〃") - @PreAuthorize("@ss.hasPermi('system:tag:export')") + //@PreAuthorize("@ss.hasPermi('system:tag:export')") @Log(title = "鏍囩", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, BaseTag baseTag) { @@ -71,7 +71,7 @@ */ @ApiOperation("鑾峰彇鏍囩璇︾粏淇℃伅") @ApiImplicitParam(name = "remove", value = "涓婚敭ID", dataType = "long", dataTypeClass = Long.class) - @PreAuthorize("@ss.hasPermi('system:tag:query')") + //@PreAuthorize("@ss.hasPermi('system:tag:query')") @GetMapping(value = "/{tagid}") public AjaxResult getInfo(@PathVariable("tagid") Long tagid) { return success(baseTagService.selectBaseTagByTagid(tagid)); @@ -81,7 +81,7 @@ * 鏂板鏍囩 */ @ApiOperation("鏂板鏍囩") - @PreAuthorize("@ss.hasPermi('system:tag:add')") + //@PreAuthorize("@ss.hasPermi('system:tag:add')") @Log(title = "鏍囩", businessType = BusinessType.INSERT) @PostMapping("/add") public AjaxResult add(@RequestBody BaseTag baseTag) { @@ -92,7 +92,7 @@ * 淇敼鏍囩 */ @ApiOperation("淇敼鏍囩") - @PreAuthorize("@ss.hasPermi('system:tag:edit')") + //@PreAuthorize("@ss.hasPermi('system:tag:edit')") @Log(title = "鏍囩", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@RequestBody BaseTag baseTag) { @@ -104,7 +104,7 @@ */ @ApiOperation("鍒犻櫎鏍囩") @ApiImplicitParam(name = "remove", value = "涓婚敭ID", dataType = "long", dataTypeClass = Array.class) - @PreAuthorize("@ss.hasPermi('system:tag:remove')") + //@PreAuthorize("@ss.hasPermi('system:tag:remove')") @Log(title = "鏍囩", businessType = BusinessType.DELETE) @GetMapping("/remove/{tagids}") public AjaxResult remove(@PathVariable Long[] tagids) { -- Gitblit v1.9.3