fix: 字典数据空字符串存入

This commit is contained in:
TsMask
2023-11-17 10:15:19 +08:00
parent 10847bb9f0
commit 3fc37924f6
4 changed files with 7 additions and 15 deletions

View File

@@ -19,8 +19,8 @@ type CommontImpl struct {
}
// SystemConfigInfo 系统配置信息
func (s *CommontImpl) SystemConfigInfo() map[string]any {
infoMap := map[string]any{}
func (s *CommontImpl) SystemConfigInfo() map[string]string {
infoMap := map[string]string{}
// 获取LOGO类型
logoType := s.sysConfigService.SelectConfigValueByKey("sys.logo.type")
infoMap["logoType"] = logoType