|
@@ -223,6 +223,8 @@ func (m *WorkDesktopMenu) WorkMenuFormat() ([]*pb.MenuList, error) {
|
|
}
|
|
}
|
|
menuList = append(menuList, oneLevel)
|
|
menuList = append(menuList, oneLevel)
|
|
}
|
|
}
|
|
|
|
+ UserPermissions[m.NewUserId] = map[string]int{}
|
|
|
|
+ UserCapitals[m.NewUserId] = map[string]int{}
|
|
//bytes, _ := json.MarshalIndent(menuList, "", " ")
|
|
//bytes, _ := json.MarshalIndent(menuList, "", " ")
|
|
//fmt.Printf("%s\n", bytes)
|
|
//fmt.Printf("%s\n", bytes)
|
|
return menuList, nil
|
|
return menuList, nil
|