From b8d5b1f56f5604bfc3645d3735154812644fc391 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期四, 27 三月 2025 15:30:29 +0800 Subject: [PATCH] 提交 --- LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml | 7 +++++++ LifePayment/LifePayment.Application.Contracts/LifePay/ILifePayService.cs | 7 +++++++ LifePayment/LifePayment.Domain/Ali/AliPayApi.cs | 11 +++++++++++ LifePayment/LifePayment.Host/LifePaymentService.HttpApi.xml | 7 +++++++ 4 files changed, 32 insertions(+), 0 deletions(-) diff --git a/LifePayment/LifePayment.Application.Contracts/LifePay/ILifePayService.cs b/LifePayment/LifePayment.Application.Contracts/LifePay/ILifePayService.cs index 4b951cd..1a065eb 100644 --- a/LifePayment/LifePayment.Application.Contracts/LifePay/ILifePayService.cs +++ b/LifePayment/LifePayment.Application.Contracts/LifePay/ILifePayService.cs @@ -272,8 +272,15 @@ Task<string> GetBillErceiptExport(string orderNo); + /// <summary> + /// 鏌ヨ鏀粯瀹濇敮浠樿鍗曚俊鎭� + /// </summary> + /// <param name="input"></param> + /// <returns></returns> Task<AlipayTradeQueryResponse> QueryGetAlipayTrade(OrderInQuiryInput input); + + /// <summary> /// 璁剧疆鐢熸椿缂磋垂鏀粯绫诲瀷 /// </summary> diff --git a/LifePayment/LifePayment.Domain/Ali/AliPayApi.cs b/LifePayment/LifePayment.Domain/Ali/AliPayApi.cs index 4174021..88c1357 100644 --- a/LifePayment/LifePayment.Domain/Ali/AliPayApi.cs +++ b/LifePayment/LifePayment.Domain/Ali/AliPayApi.cs @@ -29,12 +29,23 @@ return response; } + /// <summary> + /// 鏌ヨ鏀粯瀹濇敮浠樿鍗曚俊鎭� + /// </summary> + /// <param name="input"></param> + /// <returns></returns> public async Task<AlipayTradeQueryResponse> OrderInQuiry(OrderInQuiryInput input) { AlipayTradeQueryResponse response = Factory.Payment.Common().Query(input.OutTradeNo); return response; } + public async Task<AlipayTradeQueryResponse> TradeRefundQuiry(OrderInQuiryInput input) + { + AlipayTradeQueryResponse response = Factory.Payment.Common().Query(input.OutTradeNo); + return response; + } + public async Task<AlipayTradeRefundResponse> TradeRefund(AlipayTradeRefundRequest input) { AlipayTradeRefundResponse response = Factory.Payment.Common().Refund(input.OutTradeNo,input.RefundAmount); diff --git a/LifePayment/LifePayment.Host/LifePaymentService.HttpApi.xml b/LifePayment/LifePayment.Host/LifePaymentService.HttpApi.xml index 50f010d..95d56a5 100644 --- a/LifePayment/LifePayment.Host/LifePaymentService.HttpApi.xml +++ b/LifePayment/LifePayment.Host/LifePaymentService.HttpApi.xml @@ -260,6 +260,13 @@ <param name="input"></param> <returns></returns> </member> + <member name="M:LifePayment.HttpApi.LifePayController.QueryGetAlipayTrade(LifePayment.Domain.Shared.OrderInQuiryInput)"> + <summary> + 鏌ヨ鏀粯瀹濊鍗曚俊鎭� + </summary> + <param name="input"></param> + <returns></returns> + </member> <member name="M:LifePayment.HttpApi.LifePayController.CreateLifePayPhoneOrder(LifePayment.Application.Contracts.CreateLifePayOrderInput{LifePayment.Application.Contracts.LifePhoneData})"> <summary> 鍒涘缓鐢熸椿缂磋垂璇濊垂璁㈠崟 diff --git a/LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml b/LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml index 50000c3..1ea656f 100644 --- a/LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml +++ b/LifePayment/LifePayment.Host/LifePaymentServices.Application.Contracts.xml @@ -232,6 +232,13 @@ <param name="id"></param> <returns></returns> </member> + <member name="M:LifePayment.Application.Contracts.ILifePayService.QueryGetAlipayTrade(LifePayment.Domain.Shared.OrderInQuiryInput)"> + <summary> + 鏌ヨ鏀粯瀹濇敮浠樿鍗曚俊鎭� + </summary> + <param name="input"></param> + <returns></returns> + </member> <member name="M:LifePayment.Application.Contracts.ILifePayService.SetLifePayOrderPayType(LifePayment.Domain.Shared.SetLifePayOrderPayTypeInput,System.String)"> <summary> 璁剧疆鐢熸椿缂磋垂鏀粯绫诲瀷 -- Gitblit v1.9.1