/// <summary> /// 咨询列表 /// </summary> /// <param name="userRefer"></param> /// <returns></returns> public GetUserRefer GetUserReferList(GetUserRefer userRefer) { var req = Mapper.Map <GetUserRefer, QueryUserReferRequest>(userRefer); var userReferResult = OpcClient.Send <QueryUserReferResponse>(req); if (userReferResult.DoFlag) { userRefer.List = Mapper.MappGereric <User_ReferExt, UserReferDetail>(userReferResult.ReferDos); userRefer.Total = userReferResult.Total; } return(userRefer); }
public ActionResult Item(GetUserRefer userRefer) { try { userRefer = UserReferClient.Instance.GetUserReferList(userRefer); } catch (Exception ex) { throw ex; } ViewBag.UserRefer = userRefer; return(View()); }
// /UserRefer/ #region 咨询列表 public ActionResult Index(GetUserRefer userRefer) { ViewBag.UserRefer = userRefer; return(View(userRefer)); }