添加多语言最基础代码

This commit is contained in:
刘祥超
2023-06-28 09:14:07 +08:00
parent a431c57e25
commit 70452428ab
16 changed files with 172 additions and 70 deletions

View File

@@ -51,7 +51,7 @@ func (this *AdminAction) RunGet(params struct {
// 权限
moduleMaps := []maps.Map{}
for _, m := range configloaders.AllModuleMaps() {
for _, m := range configloaders.AllModuleMaps(this.Lang()) {
code := m.GetString("code")
isChecked := false
for _, module := range admin.Modules {