Browse Source

fix:菜单列表新增英文字段返回

Roc 1 year ago
parent
commit
b8d48ee996
1 changed files with 2 additions and 0 deletions
  1. 2 0
      models/system/sys_role.go

+ 2 - 0
models/system/sys_role.go

@@ -117,11 +117,13 @@ type SysRoleListResp struct {
 type RoleMenu struct {
 	MenuId int    `description:"导航唯一标识"`
 	Name   string `description:"导航名称"`
+	NameEn string `description:"导航名称(英文)"`
 }
 
 type RoleMenuList struct {
 	MenuId    int    `description:"导航唯一标识"`
 	Name      string `description:"导航名称"`
+	NameEn    string `description:"导航名称(英文)"`
 	Child     []*RoleMenu
 	CheckList []int
 }