Browse Source

Merge branch 'eta/1.7.1' into debug

Roc 1 year ago
parent
commit
a6a87b156a
2 changed files with 2 additions and 0 deletions
  1. 1 0
      controllers/sys_menu.go
  2. 1 0
      models/system/sys_menu.go

+ 1 - 0
controllers/sys_menu.go

@@ -125,6 +125,7 @@ func (this *SysRoleController) SysMenuList() {
 			cm := new(system.ChildMenu)
 			cm.MenuId = 10000
 			cm.Name = "出差审批"
+			cm.NameEn = "Business Trip Approval"
 			cm.Path = "businessTripApproval"
 			cm.Component = "businessTripApproval"
 			cm.IconPath = ""

+ 1 - 0
models/system/sys_menu.go

@@ -66,6 +66,7 @@ type MenuList struct {
 type ChildMenu struct {
 	MenuId    int    `description:"导航唯一标识"`
 	Name      string `json:"name" description:"导航名称"`
+	NameEn    string `json:"name_en" description:"导航名称(英文)"`
 	Path      string `json:"path"`
 	Component string `json:"component"`
 	IconPath  string `json:"icon_path"`