From 34ba735bfa0d272e063054c7ba0ef6fde65880f4 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期三, 08 一月 2025 17:37:10 +0800
Subject: [PATCH] point历史值查询增加默认时间

---
 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