From 79a3de8971c613277bdcea79463b6f06959e7b85 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Tue, 23 Apr 2024 22:01:04 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=8F=82=E6=95=B0=E5=AD=97=E5=85=B8=20API=20=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../top/continew/admin/webapi/common/CommonController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/continew-admin-webapi/src/main/java/top/continew/admin/webapi/common/CommonController.java b/continew-admin-webapi/src/main/java/top/continew/admin/webapi/common/CommonController.java index d1067bc0..62d97e1c 100644 --- a/continew-admin-webapi/src/main/java/top/continew/admin/webapi/common/CommonController.java +++ b/continew-admin-webapi/src/main/java/top/continew/admin/webapi/common/CommonController.java @@ -110,10 +110,10 @@ public class CommonController { } @SaIgnore - @Operation(summary = "查询参数", description = "查询参数") - @GetMapping("/option") + @Operation(summary = "查询参数字典", description = "查询参数字典") + @GetMapping("/dict/option") @Cached(key = "#query.code", name = CacheConstants.OPTION_KEY_PREFIX) - public R>> listOption(@Validated OptionQuery query) { + public R>> listOptionDict(@Validated OptionQuery query) { return R.ok(optionService.list(query) .stream() .map(option -> new LabelValueResp<>(option.getCode(), StrUtil.nullToDefault(option.getValue(), option