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

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

No files matched your search

+1 -1
View File
@@ -3,5 +3,5 @@ package service
// 通用请求 服务层接口
type ICommont interface {
// SystemConfigInfo 系统配置信息
SystemConfigInfo() map[string]any
SystemConfigInfo() map[string]string
}
+2 -2
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