This commit is contained in:
2023-12-22 15:31:45 +08:00

View File

@@ -1,7 +1,10 @@
package service package service
import ( import (
"fmt"
"ems.agt/lib/global" "ems.agt/lib/global"
"ems.agt/src/framework/config"
systemService "ems.agt/src/modules/system/service" systemService "ems.agt/src/modules/system/service"
) )
@@ -26,6 +29,8 @@ func (s *CommontImpl) SystemConfigInfo() map[string]string {
infoMap["version"] = global.Version infoMap["version"] = global.Version
infoMap["buildTime"] = global.BuildTime infoMap["buildTime"] = global.BuildTime
infoMap["goVer"] = global.GoVer infoMap["goVer"] = global.GoVer
// 序列号
infoMap["serialNum"] = fmt.Sprint(config.Get("omc.sn"))
// 获取LOGO类型 // 获取LOGO类型
logoType := s.sysConfigService.SelectConfigValueByKey("sys.logo.type") logoType := s.sysConfigService.SelectConfigValueByKey("sys.logo.type")
infoMap["logoType"] = logoType infoMap["logoType"] = logoType