From 4165e8f224dcc6aa9b551511db38041edcfb5ee9 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 22 Dec 2023 15:17:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=A1=E6=81=AF=E8=8E=B7=E5=8F=96=E5=BA=8F?= =?UTF-8?q?=E5=88=97=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/common/service/commont.impl.go | 5 +++++ 1 file changed, 5 insertions(+) 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