From fec1341c1cb8e11cfbe3fa7dfabe447edb72b630 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 27 十月 2026 15:12:43 +0800
Subject: [PATCH] refactor(auth): 移除多个模块中的权限校验注解

---
 yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/brand/MdmBrandController.java |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/brand/MdmBrandController.java b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/brand/MdmBrandController.java
index f55edf0..c8f8afe 100644
--- a/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/brand/MdmBrandController.java
+++ b/yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/brand/MdmBrandController.java
@@ -65,23 +65,27 @@
     @GetMapping("/get")
     @Operation(summary = "鑾峰緱鍝佺墝")
     @Parameter(name = "id", description = "缂栧彿", required = true, example = "1")
-    @PreAuthorize("@ss.hasPermission('mdm:brand:query')")
     public CommonResult<MdmBrandDO> getBrand(@RequestParam("id") Long id) {
         return success(brandService.getBrand(id));
     }
 
     @GetMapping("/page")
     @Operation(summary = "鑾峰緱鍝佺墝鍒嗛〉")
-    @PreAuthorize("@ss.hasPermission('mdm:brand:query')")
     public CommonResult<PageResult<MdmBrandDO>> getBrandPage(@Valid MdmBrandPageReqVO pageReqVO) {
         return success(brandService.getBrandPage(pageReqVO));
     }
 
     @GetMapping("/list")
     @Operation(summary = "鑾峰緱鍝佺墝鍒楄〃")
-    @PreAuthorize("@ss.hasPermission('mdm:brand:query')")
     public CommonResult<List<MdmBrandDO>> getBrandList() {
         return success(brandService.getBrandList(null));
     }
 
+    @GetMapping("/list-by-ids")
+    @Operation(summary = "鑾峰緱鍝佺墝鍒楄〃")
+    @Parameter(name = "ids", description = "缂栧彿鍒楄〃", required = true, example = "1,2,3")
+    public CommonResult<List<MdmBrandDO>> getBrandListByIds(@RequestParam("ids") List<Long> ids) {
+        return success(brandService.getBrandList(ids));
+    }
+
 }
\ No newline at end of file

--
Gitblit v1.9.3