/// <summary> /// 关注的日志 /// </summary> public ActionResult Subscribed(string spaceKey, int pageIndex = 1) { PagingDataSet<BlogThread> blogs = new PagingDataSet<BlogThread>(new List<BlogThread>()); pageResourceManager.InsertTitlePart("我的关注"); PagingDataSet<long> threadIds = subscribeService.GetPagingObjectIds(UserContext.CurrentUser.UserId, pageIndex); if (threadIds != null && threadIds.Count > 0) { IEnumerable<BlogThread> blogList = blogService.GetBlogThreads(threadIds.ToList()); blogs = new PagingDataSet<BlogThread>(blogList) { TotalRecords = threadIds.TotalRecords, PageSize = threadIds.PageSize, PageIndex = threadIds.PageIndex, QueryDuration = threadIds.QueryDuration }; } return View(blogs); }