public OneAddressResponse GetOneAddress(OneAddressRequest request) { OneAddressResponse response = new OneAddressResponse(); //获取所有的地址信息 List <UserAddress> infos = BaseBLL <UserInfobll> .Instance.ShowressInfo(request.UserId); response.Info = infos.Where(c => c.Id == request.AddressId).FirstOrDefault(); response.State = true; return(response); }
public JsonResult GetOneAddress(OneAddressRequest request) { OneAddressResponse response = userBll.GetOneAddress(request); return(Json(response)); }
//显示单条地址信息 public OneAddressResponse GetOneAddress(OneAddressRequest request) { OneAddressResponse response = ApiRequestHelper.Post <OneAddressRequest, OneAddressResponse>(request); return(response); }