/// <summary> /// 根据订单编号获取订单详情信息 /// </summary> /// <param name="orderId"></param> /// <returns></returns> public OrderDetailRD GetOrderDetailByOrderId(long orderId) { string url = "/member/orderDetail?orderId=" + orderId.ToString(); OrderDetailRD orderDetailRD = RestSharpHelper <OrderDetailRD> .Get(url); return(orderDetailRD); }
/// <summary> /// 根据订单编号获取订单详情信息 /// </summary> /// <param name="orderId"></param> /// <returns></returns> public static OrderDetailRD GetOrderDetailByOrderId(long orderId) { try { string url = "/member/orderDetail?orderId=" + orderId.ToString(); OrderDetailRD orderDetailRD = RestSharpHelper <OrderDetailRD> .Get(url); return(orderDetailRD); } catch (ApplicationException ex) { throw ex; } }