示例#1
0
        private List <JDOrderDetailOut_Data> FetchJDSplitInfo(int paymentCompanyId, string jdOrderId)
        {
            var jdResult = _jdService.FetchJDOrderDetail(paymentCompanyId, jdOrderId);

            if (jdResult.Success == false)
            {
                throw new NopException(jdResult.ResultMessage);
            }

            return(jdResult.Data.Where(p => p.SubmitState == SubmitStateEnum.确认下单订单).ToList());
        }
示例#2
0
 public ActionResult FetchJDOrderDetail(int paymentCompanyId, string jdOrderId)
 {
     return(Content(JsonConvert.SerializeObject(_jdService.FetchJDOrderDetail(paymentCompanyId, jdOrderId))));
 }