Merge branch 'main' of http://192.168.2.166:3180/OMC/ems_backend
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user