Esempio n. 1
0
        public void BuildMenus(IMenuBuilder builder)
        {
            builder.Group("Home").SetName("首页").SetOrder(0).SetUrl("/Core/Home/ManagerIndex");

            builder.Group("Management").SetName("设置").SetOrder(4).SetUrl("/Core/Home/Index");
            builder.Menu("Management", "Role").SetName("角色").SetUrl("/Core/Role/List").AddAccessPermission(Permissions.RoleManager);
        }