From 481d8165f26fc7e37f0e87f6444ac0340bb563a3 Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期二, 03 十一月 2026 18:53:22 +0800
Subject: [PATCH] fix: 移植长辉已验证的四类接口 500/体验问题(不含物料颜色字段)

---
 yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/DictTypeController.java |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/DictTypeController.java b/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/DictTypeController.java
index 743677e..b9f720a 100644
--- a/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/DictTypeController.java
+++ b/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/DictTypeController.java
@@ -77,7 +77,6 @@
 
     @GetMapping("/page")
     @Operation(summary = "鑾峰緱瀛楀吀绫诲瀷鐨勫垎椤靛垪琛�")
-    @PreAuthorize("@ss.hasPermission('system:dict:query')")
     public CommonResult<PageResult<DictTypeRespVO>> pageDictTypes(@Valid DictTypePageReqVO pageReqVO) {
         PageResult<DictTypeDO> pageResult = dictTypeService.getDictTypePage(pageReqVO);
         return success(BeanUtils.toBean(pageResult, DictTypeRespVO.class));
@@ -86,7 +85,6 @@
     @Operation(summary = "/鏌ヨ瀛楀吀绫诲瀷璇︾粏")
     @Parameter(name = "id", description = "缂栧彿", required = true, example = "1024")
     @GetMapping(value = "/get")
-    @PreAuthorize("@ss.hasPermission('system:dict:query')")
     public CommonResult<DictTypeRespVO> getDictType(@RequestParam("id") Long id) {
         DictTypeDO dictType = dictTypeService.getDictType(id);
         return success(BeanUtils.toBean(dictType, DictTypeRespVO.class));
@@ -102,7 +100,6 @@
 
     @Operation(summary = "瀵煎嚭鏁版嵁绫诲瀷")
     @GetMapping("/export-excel")
-    @PreAuthorize("@ss.hasPermission('system:dict:query')")
     @ApiAccessLog(operateType = EXPORT)
     public void export(HttpServletResponse response, @Valid DictTypePageReqVO exportReqVO) throws IOException {
         exportReqVO.setPageSize(PageParam.PAGE_SIZE_NONE);

--
Gitblit v1.9.3