/// <summary> /// 热门文章 /// </summary> /// <returns></returns> public IActionResult Hot() { var list = _articleInfoService.Queryable(c => c.Visible == true, o => o.ReadTimes, true, 6); return(Json(list.Select(s => new { ArticleId = s.ArticleId, Title = s.Title, Thumbnail = s.Thumbnail, PublishDate = s.PublishDate, ReadTimes = s.ReadTimes }), "yyyy-MM-dd HH:mm:ss")); }