标签:blog io ar os on 2014 log cti as
/// <summary> /// 获取评论列表 /// </summary> /// <param name="pageIndex"></param> /// <returns></returns> public ActionResult GetCommentList(int pageIndex=1) { try{ WebUser webuser= FunSession.GetSession() as WebUser; var pageCount=0; var list = HotelOrderInfoService.GetHotelCommentList(webuser.Id, pageIndex, out pageCount); return new JsonResult { Data = new { mdata = list, pageIndex = pageIndex, pageCount = pageCount, success = true }, JsonRequestBehavior = JsonRequestBehavior.AllowGet }; }catch(Exception ex) { return new JsonResult { Data = new { mdata = "", pageIndex = pageIndex, pageCount = 0, success = false }, JsonRequestBehavior = JsonRequestBehavior.AllowGet }; } }
标签:blog io ar os on 2014 log cti as
原文地址:http://blog.csdn.net/fanbin168/article/details/41223331