/// <summary>
        /// 售后同意退款/退货申请
        /// </summary>
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO CancelTheOrderAfterSales(Jinher.AMP.BTP.Deploy.CustomDTO.CancelTheOrderDTO cancelTheOrderDTO)
        {
            base.Do(false);
            Stopwatch timer = new Stopwatch();

            timer.Start();
            var result = this.CancelTheOrderAfterSalesExt(cancelTheOrderDTO);

            timer.Stop();
            LogHelper.Debug(string.Format("CommodityOrderAfterSalesBP.CancelTheOrderAfterSales:耗时:{0},入参:{1},出参:{2}", timer.ElapsedMilliseconds, JsonHelper.JsonSerializer(cancelTheOrderDTO), JsonHelper.JsonSerializer(result)));
            return(result);
        }
Exemple #2
0
        public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO CancelTheOrderCallBack(Jinher.AMP.BTP.Deploy.CustomDTO.CancelTheOrderDTO cancelTheOrderDTO)
        {
            //定义返回值
            Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO result;

            try
            {
                //调用代理方法
                result = base.Channel.CancelTheOrderCallBack(cancelTheOrderDTO);
            }
            catch
            {
                //抛异常
                throw;
            }
            finally
            {
                //关链接
                ChannelClose();
            }            //返回结果
            return(result);
        }
Exemple #3
0
 /// <summary>
 /// 退款金币回调
 /// </summary>
 /// <param name="cancelTheOrderDTO">退款model,orderId为必填参数</param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO CancelTheOrderCallBack(Jinher.AMP.BTP.Deploy.CustomDTO.CancelTheOrderDTO cancelTheOrderDTO)
 {
     base.Do();
     return(this.Command.CancelTheOrderCallBack(cancelTheOrderDTO));
 }
Exemple #4
0
 /// <summary>
 /// 拒绝收货
 /// </summary>
 /// <param name="cancelTheOrderDTO"></param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO RefuseRefundOrderSeller(Jinher.AMP.BTP.Deploy.CustomDTO.CancelTheOrderDTO cancelTheOrderDTO)
 {
     base.Do();
     return(this.Command.RefuseRefundOrderSeller(cancelTheOrderDTO));
 }
 /// <summary>
 /// 拒绝收货
 /// </summary>
 /// <param name="cancelTheOrderDTO"></param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO RefuseRefundOrderSellerAfterSales(Jinher.AMP.BTP.Deploy.CustomDTO.CancelTheOrderDTO cancelTheOrderDTO)
 {
     LogHelper.Info(string.Format("售后拒绝收货 CommodityOrderAfterSalesBP.RefuseRefundOrderSellerAfterSales, cancelTheOrderDTO:{0}", JsonHelper.JsonSerializer(cancelTheOrderDTO)), "BTP_Order");
     base.Do();
     return(this.RefuseRefundOrderSellerAfterSalesExt(cancelTheOrderDTO));
 }
 /// <summary>
 /// 售后退款金币回调
 /// </summary>
 /// <param name="cancelTheOrderDTO">退款model,orderId为必填参数</param>
 /// <returns></returns>
 public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO CancelTheOrderAfterSalesCallBack(Jinher.AMP.BTP.Deploy.CustomDTO.CancelTheOrderDTO cancelTheOrderDTO)
 {
     LogHelper.Info(string.Format("售后退款金币回调 CommodityOrderAfterSalesBP.CancelTheOrderAfterSalesCallBack, cancelTheOrderDTO:{0}", JsonHelper.JsonSerializer(cancelTheOrderDTO)), "BTP_Order");
     base.Do(false);
     return(this.CancelTheOrderAfterSalesCallBackExt(cancelTheOrderDTO));
 }