From 8a6b19bf5c50ebb54e965645a9366f6cfea02351 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期三, 25 十二月 2024 15:03:44 +0800 Subject: [PATCH] 调度记录查看 --- iailab-module-infra/iailab-module-infra-biz/src/main/java/com/iailab/module/infra/api/db/DataSourceConfigServiceApiImpl.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/iailab-module-infra/iailab-module-infra-biz/src/main/java/com/iailab/module/infra/api/db/DataSourceConfigServiceApiImpl.java b/iailab-module-infra/iailab-module-infra-biz/src/main/java/com/iailab/module/infra/api/db/DataSourceConfigServiceApiImpl.java index 5df495a..6bbe7da 100644 --- a/iailab-module-infra/iailab-module-infra-biz/src/main/java/com/iailab/module/infra/api/db/DataSourceConfigServiceApiImpl.java +++ b/iailab-module-infra/iailab-module-infra-biz/src/main/java/com/iailab/module/infra/api/db/DataSourceConfigServiceApiImpl.java @@ -4,6 +4,8 @@ import com.iailab.module.infra.convert.db.DataSourceConfigConvert; import com.iailab.module.infra.service.db.DataSourceConfigService; import org.springframework.stereotype.Service; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; @@ -12,7 +14,8 @@ * * @author 芋道源码 */ -@Service +@RestController // 提供 RESTful API 接口,给 Feign 调用 +@Validated public class DataSourceConfigServiceApiImpl implements DataSourceConfigServiceApi { @Resource -- Gitblit v1.9.3