示例#1
0
 /// <summary>
 /// 统一下单接口
 /// </summary>
 /// <param name="jdOrderId">订单id</param>
 /// <returns></returns>
 public JDValueResult <JDOrderDto> CreateOrder(OrderDto model)
 {
     if (model == null)
     {
         return new JDValueResult <JDOrderDto>()
                {
                    success    = false,
                    resultCode = JDErrorCode.sys_param_json_error.ToString()
                }
     }
     ;
     return(JDRequestHelper <JDOrderDto> .GetResult("biz.order.unite.submit", model.ToJson()));
 }