From 85de4f8a1ef46f61e57b4ec375186122c23a3212 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期四, 27 三月 2025 15:10:45 +0800 Subject: [PATCH] fix:新增支付宝查询 --- LifePayment/LifePayment.Domain/Ali/AliPayApi.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/LifePayment/LifePayment.Domain/Ali/AliPayApi.cs b/LifePayment/LifePayment.Domain/Ali/AliPayApi.cs index a64cc72..4174021 100644 --- a/LifePayment/LifePayment.Domain/Ali/AliPayApi.cs +++ b/LifePayment/LifePayment.Domain/Ali/AliPayApi.cs @@ -4,6 +4,7 @@ using Alipay.EasySDK.Payment.FaceToFace.Models; using LifePayment.Domain.Shared; using Microsoft.Extensions.Options; +using Nest; using System.Threading.Tasks; namespace LifePayment.Domain @@ -28,7 +29,7 @@ return response; } - public AlipayTradeQueryResponse OrderInQuiry(OrderInQuiryInput input) + public async Task<AlipayTradeQueryResponse> OrderInQuiry(OrderInQuiryInput input) { AlipayTradeQueryResponse response = Factory.Payment.Common().Query(input.OutTradeNo); return response; @@ -39,5 +40,6 @@ AlipayTradeRefundResponse response = Factory.Payment.Common().Refund(input.OutTradeNo,input.RefundAmount); return response; } + } } \ No newline at end of file -- Gitblit v1.9.1