From ad780ee6c8aa7e91fe91cb64a59407188a72744f Mon Sep 17 00:00:00 2001 From: wangjw Date: Thu, 28 Mar 2024 22:55:59 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20=E8=8E=B7=E5=8F=96=E5=AD=97=E5=85=B8?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E7=9A=84=E6=95=B0=E6=8D=AE=E9=A1=B9API=20get?= =?UTF-8?q?DictOptions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../youlai/system/controller/SysDictController.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/youlai-system/system-boot/src/main/java/com/youlai/system/controller/SysDictController.java b/youlai-system/system-boot/src/main/java/com/youlai/system/controller/SysDictController.java index 6f51be2f7..8a6c18351 100644 --- a/youlai-system/system-boot/src/main/java/com/youlai/system/controller/SysDictController.java +++ b/youlai-system/system-boot/src/main/java/com/youlai/system/controller/SysDictController.java @@ -140,4 +140,14 @@ public class SysDictController { return Result.judge(result); } + @Operation(summary = "获取字典类型的数据项") + @GetMapping("/types/{typeCode}/items") + public Result> listDictTypeItems( + @Parameter(description ="字典类型编码") @PathVariable String typeCode + ) { + List