feat: 服务类型 单核心网oc 多核心网mc 租户核心网tc

This commit is contained in:
TsMask
2025-08-22 10:17:50 +08:00
parent b55f27eb9b
commit 86dd22c274
4 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
# server version: std/lite
serverVersion: "std"
# Service Type Single Core Network (oc) / Multi Core Network (mc) / Tenant Core Network (tc)
serverType: "oc"
# operation mode system/docker
# serverMode: "system"
# login authentication, default true

View File

@@ -1,5 +1,5 @@
# server version: std/lite
serverVersion: "std"
# Service Type Single Core Network (oc) / Multi Core Network (mc) / Tenant Core Network (tc)
serverType: "oc"
# operation mode system/docker
# serverMode: "system"
# login authentication, default true

View File

@@ -1,5 +1,5 @@
# 运行版本 std/lite
serverVersion: "std"
# 服务类型 单核心网oc 多核心网mc 租户核心网tc
serverType: "oc"
# 运行模式 system/docker
serverMode: "system"
# 登录认证,默认打开

View File

@@ -55,8 +55,8 @@ func (s SysConfController) Handler(c *gin.Context) {
} else {
infoMap[constants.LAUNCH_BOOTLOADER] = "true"
}
// 服务版本
infoMap["serverVersion"] = fmt.Sprint(config.Get("serverVersion"))
// 服务类型
infoMap["serverType"] = fmt.Sprint(config.Get("serverType"))
// 用户登录认证
infoMap["loginAuth"] = fmt.Sprint(config.Get("serverLoginAuth"))
// 用户接口加密