接入可配置文档编辑与智能取数服务

This commit is contained in:
baiyanyun
2026-07-13 14:53:14 +08:00
parent ab4e84004f
commit 474a4866d2
16 changed files with 443 additions and 9 deletions

View File

@@ -72,6 +72,30 @@ public class TenantConfigServiceImpl extends ServiceImpl<TenantConfigMapper, Ten
.required(true)
.sort(1)
.build());
tenantConfigDefaultList.add(TenantConfig.builder()
.name("intelligentDataServiceUrl")
.description("智能取数服务地址")
.value("http://192.168.2.106:3000/test-console")
.notice("客户端点击智能取数时加载的 HTTP 或 HTTPS 服务地址")
.placeholder("请输入智能取数服务地址")
.category(TenantConfig.ConfigCategory.BaseConfig)
.inputType(TenantConfig.InputType.Input)
.dataType(TenantConfig.DataType.String)
.required(true)
.sort(2)
.build());
tenantConfigDefaultList.add(TenantConfig.builder()
.name("documentEditorServiceUrl")
.description("文档编辑服务地址")
.value("")
.notice("客户端点击文档编辑时加载的 HTTP 或 HTTPS 服务地址")
.placeholder("请输入文档编辑服务地址")
.category(TenantConfig.ConfigCategory.BaseConfig)
.inputType(TenantConfig.InputType.Input)
.dataType(TenantConfig.DataType.String)
.required(false)
.sort(3)
.build());
tenantConfigDefaultList.add(TenantConfig.builder()
.name("siteDescription")
.description("站点介绍")