feat(chat): 增加数据库SQL访问接口

This commit is contained in:
v-zhangjc9
2025-06-05 19:53:25 +08:00
parent a35980a5f4
commit 90fea22de5
6 changed files with 145 additions and 3 deletions

View File

@@ -8,6 +8,7 @@ import com.lanyuanxiaoyao.service.configuration.entity.PageResponse;
import com.lanyuanxiaoyao.service.configuration.entity.info.*;
import java.util.Map;
import org.eclipse.collections.api.list.ImmutableList;
import org.eclipse.collections.api.map.ImmutableMap;
/**
* Info 接口
@@ -193,4 +194,7 @@ public interface InfoService {
@Get("/info/clean_table_version")
Integer cleanTableVersion();
@Post(value = "/jdbc", contentType = "plain/text")
ImmutableList<ImmutableMap<String, String>> jdbc(@Body String sql);
}