From 8f5a78cae00812ec9eef16936a7d2b53a90892f0 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期二, 01 四月 2025 09:21:26 +0800 Subject: [PATCH] fix:支付宝退款查询接口 --- LifePayment/LifePayment.Application/LifePay/LifePayService.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs index 8053980..e6551c4 100644 --- a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs +++ b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs @@ -848,8 +848,9 @@ /// <returns></returns> public async Task<AlipayTradeFastpayRefundQueryResponse> QueryAlipayTradeRefund(OrderInQuiryInput input) { - var result = await _aliPayApi.QueryAlipayTradeRefund(input); var order = await _lifePayOrderRepository.Where(x => x.OrderNo == input.OutTradeNo).FirstOrDefaultAsync(); + input.OutRefundNo = order.RefundOrderNo; + var result = await _aliPayApi.QueryAlipayTradeRefund(input); if (result.Code == AlipayResultCode.Success && result.RefundStatus == AlipayRefundStatus.Success) { order.LifePayOrderStatus = LifePayOrderStatusEnum.宸查��娆�; -- Gitblit v1.9.1