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 # Service Type Single Core Network (oc) / Multi Core Network (mc) / Tenant Core Network (tc)
serverVersion: "std" serverType: "oc"
# operation mode system/docker # operation mode system/docker
# serverMode: "system" # serverMode: "system"
# login authentication, default true # login authentication, default true

View File

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

View File

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

View File

@@ -55,8 +55,8 @@ func (s SysConfController) Handler(c *gin.Context) {
} else { } else {
infoMap[constants.LAUNCH_BOOTLOADER] = "true" 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")) infoMap["loginAuth"] = fmt.Sprint(config.Get("serverLoginAuth"))
// 用户接口加密 // 用户接口加密