From 31671325156e5036f5efc8b01d84ce8c871882a4 Mon Sep 17 00:00:00 2001 From: Liyanjun Date: Sat, 1 Jul 2023 11:15:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=88=86=E7=B1=BB=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=E5=8F=82=E6=95=B0=E7=9A=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config/modular/controller/SysConfigTypeController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel-d-config/config-business/src/main/java/cn/stylefeng/roses/kernel/config/modular/controller/SysConfigTypeController.java b/kernel-d-config/config-business/src/main/java/cn/stylefeng/roses/kernel/config/modular/controller/SysConfigTypeController.java index 44c9d3d14..91b5c3b4d 100644 --- a/kernel-d-config/config-business/src/main/java/cn/stylefeng/roses/kernel/config/modular/controller/SysConfigTypeController.java +++ b/kernel-d-config/config-business/src/main/java/cn/stylefeng/roses/kernel/config/modular/controller/SysConfigTypeController.java @@ -86,7 +86,7 @@ public class SysConfigTypeController { * @since 2023/6/28 17:00 */ @PostResource(name = "编辑配置类型", path = "/sysConfigType/edit") - public ResponseData edit(@RequestBody @Validated(BaseRequest.edit.class) SysConfigTypeParam sysConfigTypeParam) { + public ResponseData edit(@RequestBody @Validated(SysConfigTypeParam.edit.class) SysConfigTypeParam sysConfigTypeParam) { sysConfigTypeService.edit(sysConfigTypeParam); return new SuccessResponseData<>(); } @@ -98,7 +98,7 @@ public class SysConfigTypeController { * @since 2023/6/28 17:00 */ @PostResource(name = "删除配置类型", path = "/sysConfigType/delete") - public ResponseData delete(@RequestBody @Validated(BaseRequest.delete.class) SysConfigTypeParam sysConfigTypeParam) { + public ResponseData delete(@RequestBody @Validated(SysConfigTypeParam.delete.class) SysConfigTypeParam sysConfigTypeParam) { sysConfigTypeService.delete(sysConfigTypeParam); return new SuccessResponseData<>(); } @@ -110,7 +110,7 @@ public class SysConfigTypeController { * @since 2023/6/28 17:00 */ @GetResource(name = "获取配置类型的详情", path = "/sysConfigType/detail") - public ResponseData detail(@RequestBody @Validated(BaseRequest.detail.class) SysConfigTypeParam sysConfigTypeParam) { + public ResponseData detail(@RequestBody @Validated(SysConfigTypeParam.detail.class) SysConfigTypeParam sysConfigTypeParam) { DictDetail detail = sysConfigTypeService.detail(sysConfigTypeParam); return new SuccessResponseData<>(detail); }