From 3f0385ac55406cf33e97d9ba574751713b474a79 Mon Sep 17 00:00:00 2001
From: wtp <1813748440@qq.com>
Date: Sat, 25 Nov 2023 10:19:13 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BE=9B=E5=95=86=E6=88=B7=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GDZZ.Application/Service/Auth/DTO/WxRefundInput.cs | 14 ++++++++++++++
GDZZ.Application/Service/WXPay/WXPayService.cs | 13 ++++++++++++-
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/GDZZ.Application/Service/Auth/DTO/WxRefundInput.cs b/GDZZ.Application/Service/Auth/DTO/WxRefundInput.cs
index 5fb8388..60f9905 100644
--- a/GDZZ.Application/Service/Auth/DTO/WxRefundInput.cs
+++ b/GDZZ.Application/Service/Auth/DTO/WxRefundInput.cs
@@ -32,4 +32,18 @@ namespace GDZZ.Application
}
+
+ public class TransferInput
+ {
+
+ ///
+ /// 商户ID
+ ///
+ public string MerchantID { get; set; }
+
+ ///
+ /// 转账金额
+ ///
+ public dynamic TransferAmount { get; set; }
+ }
}
diff --git a/GDZZ.Application/Service/WXPay/WXPayService.cs b/GDZZ.Application/Service/WXPay/WXPayService.cs
index 342d2cf..d826190 100644
--- a/GDZZ.Application/Service/WXPay/WXPayService.cs
+++ b/GDZZ.Application/Service/WXPay/WXPayService.cs
@@ -416,7 +416,18 @@ namespace GDZZ.Application.Service.WXPay
#endregion
-
+ #region 商户
+ ///
+ /// 商户转账
+ ///
+ ///
+ [HttpPost]
+ [Route("Mini/v1/GetBalance")]
+ public async Task MerchantTransfer(TransferInput wxRefundInput)
+ {
+ throw Oops.Oh("参数错误");
+ }
+ #endregion
#region 附加服务