feat: 服务类型 单核心网oc 多核心网mc 租户核心网tc
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# 运行版本 std/lite
|
||||
serverVersion: "std"
|
||||
# 服务类型 单核心网oc 多核心网mc 租户核心网tc
|
||||
serverType: "oc"
|
||||
# 运行模式 system/docker
|
||||
serverMode: "system"
|
||||
# 登录认证,默认打开
|
||||
|
||||
@@ -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"))
|
||||
// 用户接口加密
|
||||
|
||||
Reference in New Issue
Block a user