添加多语言最基础代码

This commit is contained in:
GoEdgeLab
2023-06-28 09:14:07 +08:00
parent f29ad86b67
commit 97fe91c7b0
16 changed files with 172 additions and 70 deletions

View File

@@ -59,7 +59,7 @@ func (this *UpdateAction) RunGet(params struct {
}
// 权限
var moduleMaps = configloaders.AllModuleMaps()
var moduleMaps = configloaders.AllModuleMaps(this.Lang())
for _, m := range moduleMaps {
code := m.GetString("code")
isChecked := false