// GET: /WebIndexRapidIn/ #region 快速入口管理列表 public ActionResult Index(WebIndexRefer webIndex) { var result = new WebIndexRefer(); result = WebIndexRapidInClien.Instance.QueryWordMsgRefer(webIndex); return(View(result)); }
/// <summary> /// 快速入口管理 /// </summary> /// <param name="wordMsg"></param> /// <returns></returns> public WebIndexRefer QueryWordMsgRefer(WebIndexRefer webIndex) { var result = new WebIndexRefer(); var req = new QueryWebIndexRapidInRequest(); if (webIndex.SearchDetail != null) { //条件查询 req.VchName = webIndex.SearchDetail.VchName; req.IntIsVisibleIndex = webIndex.SearchDetail.IntIsVisibleIndex; req.IntNewUserVerify = webIndex.SearchDetail.IntNewUserVerify; req.IntSystemType = webIndex.SearchDetail.IntSystemType; } req.PageIndex = webIndex.PageIndex.GetValueOrDefault();; req.PageSize = webIndex.PageSize.GetValueOrDefault();; var res = BSClient.Send <QueryWebIndexRapidInResponse>(req); if (res.DoFlag) { result.List = Mapper.MappGereric <Web_Index_Rapid_InExt, WebIndexDetail>(res.RapidInDos); result.Total = res.Total; } result.SearchDetail = webIndex.SearchDetail; result.PageIndex = webIndex.PageIndex; result.PageSize = webIndex.PageSize; return(result); }