zhengyuxuan
2025-03-21 d699bedade1d20e5f36bb09ba73e0a8b7c62e014
fix:新增返回值
4个文件已修改
40 ■■■■■ 已修改文件
LifePayment/LifePayment.Application.Contracts/LifePay/LifePayOutput.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Application/LifePay/LifePayService.cs 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Domain/LifePay/LifePayOrder.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Application.Contracts/LifePay/LifePayOutput.cs
@@ -232,6 +232,11 @@
    public string RefundCredentialsImgUrl { get; set; }
    /// <summary>
    /// 退款金额
    /// </summary>
    public decimal? RefundPrice { get; set; }
    /// <summary>
    /// 下单时间
    /// </summary>
    public DateTime CreationTime { get; set; }
@@ -631,6 +636,11 @@
    /// 回单地址
    /// </summary>
    public string? ElecBillUrl { get; set; }
    /// <summary>
    /// 退款回单地址
    /// </summary>
    public string? RefundElecBillUrl { get; set; }
}
public class LifePayRefundOrderOutput
{
@@ -762,6 +772,11 @@
    /// 回单地址
    /// </summary>
    public string? ElecBillUrl { get; set; }
    /// <summary>
    /// 退款回单地址
    /// </summary>
    public string? RefundElecBillUrl { get; set; }
}
public class CreateLifePayOrderOutput
{
LifePayment/LifePayment.Application/LifePay/LifePayService.cs
@@ -304,6 +304,7 @@
                                PayTime = a.PayTime,
                                ACOOLYOrderNo = a.ACOOLYOrderNo,
                                RefundCredentialsImgUrl = a.RefundCredentialsImgUrl.GetOssPath(),
                                RefundPrice = a.RefundPrice,
                                CreationTime = a.CreationTime,
                                RefundCheckRemark = a.RefundCheckRemark,
                                RefundApplyRemark = a.RefundApplyRemark,
@@ -318,6 +319,11 @@
        return result;
    }
    /// <summary>
    /// 退款订单分页
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    public async Task<PageOutput<LifePayOrderListOutput>> GetLifePayRefundOrderPage(QueryLifePayRefundOrderListInput input)
    {
@@ -360,6 +366,7 @@
                                RefundApplyRemark = a.RefundApplyRemark,
                                RefundApplyTime = a.RefundApplyTime,
                                RefundTime = a.RefundTime,
                                RefundPrice = a.RefundPrice,
                                ChannelName = b.ChannlesName,
                                ActualRechargeAmount = a.ActualRechargeAmount,
                                PlatformDeductionAmount = a.PlatformDeductionAmount,
@@ -410,6 +417,7 @@
            PlatformRate = platformRate.Rate,
            PlatformPrice = order.PlatformDeductionAmount,
            ElecBillUrl = order.ElecBillUrl.GetOssPath(),
            RefundElecBillUrl = order.RefundElecBillUrl.GetOssPath(),
            ChannleRate = channle.ChannlesRate,
            ChannlesRakeRate = channle.ChannlesRakeRate,
            ChannlesRakePrice = channlesRakePrice.HasValue ? 0 : Math.Round(channlesRakePrice.Value, 2),
@@ -460,6 +468,7 @@
            ActualRechargeAmount = order.ActualRechargeAmount,
            RefundPrice = order.RefundPrice,
            ElecBillUrl = order.ElecBillUrl.GetOssPath(),
            RefundElecBillUrl = order.RefundElecBillUrl.GetOssPath(),
        };
        return result;
LifePayment/LifePayment.Domain/LifePay/LifePayOrder.cs
@@ -161,5 +161,11 @@
        /// 回单地址
        /// </summary>
        public string? ElecBillUrl { get; set; }
        /// <summary>
        /// 退款回单地址
        /// </summary>
        public string? RefundElecBillUrl { get; set; }
    }
}
LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml
@@ -755,6 +755,11 @@
            申请退款原因
            </summary>
        </member>
        <member name="P:LifePayment.Application.Contracts.LifePayOrderListOutput.RefundApplyTime">
            <summary>
            退款申请时间
            </summary>
        </member>
        <member name="P:LifePayment.Application.Contracts.LifePayOrderListOutput.RefundCheckRemark">
            <summary>
            驳回原因
@@ -1000,6 +1005,11 @@
            实际充值金额
            </summary>
        </member>
        <member name="P:LifePayment.Application.Contracts.LifePayOrderOutput.ActualReceivedAmount">
            <summary>
            实际到账金额
            </summary>
        </member>
        <member name="P:LifePayment.Application.Contracts.LifePayOrderOutput.RefundPrice">
            <summary>
            退款金额