部分中文转换为多语言代号

This commit is contained in:
刘祥超
2023-06-28 16:18:52 +08:00
parent 70452428ab
commit a5e53df998
25 changed files with 195 additions and 125 deletions

View File

@@ -39,7 +39,7 @@ func (this *IndexAction) RunGet(params struct{}) {
module, ok := configloaders.FindFirstAdminModule(this.AdminId())
if ok {
if module != "dashboard" {
for _, m := range configloaders.AllModuleMaps(this.Lang()) {
for _, m := range configloaders.AllModuleMaps(this.LangCode()) {
if m.GetString("code") == module {
this.RedirectURL(m.GetString("url"))
return