Пример #1
0
        /// <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);
        }
Пример #2
0
        /// <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;
            }
        }