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 附加服务