From a1808ba0ff1ccc2efacb69c1033054dbaab8687f Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期四, 10 七月 2025 17:57:16 +0800 Subject: [PATCH] 2025-07-10 --- ltkj-admin/src/main/java/com/ltkj/web/controller/mall/MallCategoryController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ltkj-admin/src/main/java/com/ltkj/web/controller/mall/MallCategoryController.java b/ltkj-admin/src/main/java/com/ltkj/web/controller/mall/MallCategoryController.java index 2028eba..7fc1662 100644 --- a/ltkj-admin/src/main/java/com/ltkj/web/controller/mall/MallCategoryController.java +++ b/ltkj-admin/src/main/java/com/ltkj/web/controller/mall/MallCategoryController.java @@ -40,7 +40,7 @@ /** * 鏌ヨ绫荤洰鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('mall:category:list')") +// @PreAuthorize("@ss.hasPermi('mall:category:list')") @GetMapping("/list") @ApiOperation(value = "鏌ヨ绫荤洰鍒楄〃") public TableDataInfo list(MallCategory mallCategory) { @@ -52,7 +52,7 @@ /** * 瀵煎嚭绫荤洰鍒楄〃 */ - @PreAuthorize("@ss.hasPermi('mall:category:export')") +// @PreAuthorize("@ss.hasPermi('mall:category:export')") @Log(title = "绫荤洰", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, MallCategory mallCategory) { @@ -65,7 +65,7 @@ * 鑾峰彇绫荤洰璇︾粏淇℃伅 */ @ApiOperation(value = "鑾峰彇绫荤洰璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('mall:category:query')") +// @PreAuthorize("@ss.hasPermi('mall:category:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return success(mallCategoryService.selectMallCategoryById(id)); @@ -75,7 +75,7 @@ * 鏂板绫荤洰 */ @ApiOperation(value = "鏂板绫荤洰") - @PreAuthorize("@ss.hasPermi('mall:category:add')") +// @PreAuthorize("@ss.hasPermi('mall:category:add')") @Log(title = "绫荤洰", businessType = BusinessType.INSERT) @PostMapping public AjaxResult add(@RequestBody MallCategory mallCategory) { @@ -86,7 +86,7 @@ * 淇敼绫荤洰 */ @ApiOperation(value = "淇敼绫荤洰") - @PreAuthorize("@ss.hasPermi('mall:category:edit')") +// @PreAuthorize("@ss.hasPermi('mall:category:edit')") @Log(title = "绫荤洰", businessType = BusinessType.UPDATE) @PutMapping public AjaxResult edit(@RequestBody MallCategory mallCategory) { @@ -97,7 +97,7 @@ * 鍒犻櫎绫荤洰 */ @ApiOperation(value = "鍒犻櫎绫荤洰") - @PreAuthorize("@ss.hasPermi('mall:category:remove')") +// @PreAuthorize("@ss.hasPermi('mall:category:remove')") @Log(title = "绫荤洰", businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { -- Gitblit v1.8.0