/// <summary> /// 生成在线支付的Url地址 /// </summary> public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <string> GetPayUrl(Jinher.AMP.BTP.Deploy.CustomDTO.PayOrderToFspDTO payOrderToFspDto) { base.Do(false); Stopwatch timer = new Stopwatch(); timer.Start(); var result = this.GetPayUrlExt(payOrderToFspDto); timer.Stop(); LogHelper.Debug(string.Format("CommodityOrderSV.GetPayUrl:耗时:{0}。入参:payOrderToFspDto:{1},\r\n出参:{2}", timer.ElapsedMilliseconds, JsonHelper.JsonSerializer(payOrderToFspDto), JsonHelper.JsonSerializer(result))); return(result); }
/// <summary> /// 生成在线支付的Url地址 /// </summary> public Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <string> GetPayUrl(Jinher.AMP.BTP.Deploy.CustomDTO.PayOrderToFspDTO payOrderToFspDto) { //定义返回值 Jinher.AMP.BTP.Deploy.CustomDTO.ResultDTO <string> result; try { //调用代理方法 result = base.Channel.GetPayUrl(payOrderToFspDto); } catch { //抛异常 throw; } finally { //关链接 ChannelClose(); } //返回结果 return(result); }