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