接入可配置概览服务并支持自适应缩放

This commit is contained in:
baiyanyun
2026-07-13 15:53:42 +08:00
parent 041964132a
commit c8a7bdc0f8
13 changed files with 108 additions and 8 deletions

View File

@@ -72,6 +72,18 @@ public class TenantConfigServiceImpl extends ServiceImpl<TenantConfigMapper, Ten
.required(true)
.sort(1)
.build());
tenantConfigDefaultList.add(TenantConfig.builder()
.name("overviewServiceUrl")
.description("客户端概览服务地址")
.value("http://127.0.0.1:5173/_app/digital")
.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("intelligentDataServiceUrl")
.description("智能取数服务地址")
@@ -82,7 +94,7 @@ public class TenantConfigServiceImpl extends ServiceImpl<TenantConfigMapper, Ten
.inputType(TenantConfig.InputType.Input)
.dataType(TenantConfig.DataType.String)
.required(true)
.sort(2)
.sort(3)
.build());
tenantConfigDefaultList.add(TenantConfig.builder()
.name("documentEditorServiceUrl")
@@ -94,7 +106,7 @@ public class TenantConfigServiceImpl extends ServiceImpl<TenantConfigMapper, Ten
.inputType(TenantConfig.InputType.Input)
.dataType(TenantConfig.DataType.String)
.required(false)
.sort(3)
.sort(4)
.build());
tenantConfigDefaultList.add(TenantConfig.builder()
.name("siteDescription")