1
0

feat: 多语言处理tkey

This commit is contained in:
TsMask
2023-11-21 14:42:37 +08:00
parent f490d9af0f
commit d5d3feb5fc
61 changed files with 1381 additions and 757 deletions

View File

@@ -215,7 +215,11 @@ func (r *RepoSysDictData) CheckUniqueDictData(sysDictData model.SysDictData) str
return ""
}
if len(results) > 0 {
return fmt.Sprintf("%v", results[0]["str"])
v, ok := results[0]["str"].(string)
if ok {
return v
}
return ""
}
return ""
}