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