public async Task <MessageModel <NavigationBar> > Get()
        {
            var data  = new MessageModel <NavigationBar>();
            var menus = await menuService.Query(t => t.mIsDeleted == false);

            var menuTrees = (from child in menus
                             select new NavigationBar
            {
                id = child.mID,
                pid = child.mPid,
                order = child.mOrderSort,
                name = child.mName,
                iconCls = child.mIcon,
                path = child.mPath
            }).ToList();
            NavigationBar rootRoot = new NavigationBar()
            {
                id      = 0,
                pid     = 0,
                order   = 0,
                name    = "根节点",
                path    = "",
                iconCls = "",
            };

            RecursionHelper.LoopNaviBarAppendChildren(menuTrees, rootRoot);

            data.success = true;
            if (data.success)
            {
                data.response = rootRoot;
                data.msg      = "获取成功";
            }
            return(data);
        }
        public async Task <MessageModel <List <RoleInfo> > > GetRoles()
        {
            var data  = new MessageModel <List <RoleInfo> >();
            var rList = await roleService.Query(n => n.rIsDelete == false);

            var mList = await menuinfoService.Query(m => m.mIsDeleted == false);

            var rmList = await roleMenuInfoService.Query();

            data.success  = true;
            data.response = RoleMenuHelper.GetRoleMenuList(rList, mList, rmList);
            return(data);
        }