From d64a364e912bb0d34c3efabd1bdee9a2f6ec0878 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期一, 24 三月 2025 14:06:24 +0800 Subject: [PATCH] fix:微信退款bug修复、新增获取渠道折扣接口 --- LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs | 60 +++++++++++++++++++++++++++++++++++++++++++++--------------- 1 files changed, 45 insertions(+), 15 deletions(-) diff --git a/LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs b/LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs index 1cbcb93..c94907b 100644 --- a/LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs +++ b/LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs @@ -600,11 +600,6 @@ /// </summary> public class WxPayDomesticRefundsRequest { - /// <summary> - /// 寰俊鏀粯璁㈠崟鍙� 鍜宱ut_trade_no蹇呴』浜岄�変竴杩涜浼犲弬 - /// </summary> - [JsonProperty("transaction_id")] - public string TransactionId { get; set; } /// <summary> /// 鍟嗘埛璁㈠崟鍙� 鍜宱ut_trade_no蹇呴』浜岄�変竴杩涜浼犲弬 @@ -618,11 +613,11 @@ [JsonProperty("out_refund_no")] public string OutRefundNo { get; set; } - /// <summary> - /// 閫�娆惧師鍥� - /// </summary> - [JsonProperty("reason")] - public string Reason { get; set; } + ///// <summary> + ///// 閫�娆惧師鍥� + ///// </summary> + //[JsonProperty("reason")] + //public string Reason { get; set; } /// <summary> /// 閫�娆剧粨鏋滃洖璋僽rl @@ -630,11 +625,6 @@ [JsonProperty("notify_url")] public string NotifyUrl { get; set; } - /// <summary> - /// 閫�娆捐祫閲戞潵婧� - /// </summary> - [JsonProperty("funds_account")] - public string FundsAccount { get; set; } /// <summary> /// 閲戦淇℃伅 蹇呭~ @@ -731,6 +721,13 @@ [JsonProperty("amount")] public Model_WxPayRetuenDomesticRefunds_Amount Amount { get; set; } + + /// <summary> + /// 杩斿洖淇℃伅 + /// </summary> + [JsonProperty("message")] + public string Message { get; set; } + } public class Model_WxPayRetuenDomesticRefunds_Amount: Model_WxPayDomesticRefunds_Amount @@ -772,4 +769,37 @@ public int RefundFee { get; set; } } + + public class WxPayTradeBillApplyRequest + { + /// <summary> + /// 寰俊鏀粯璁㈠崟鍙� + /// </summary> + [JsonProperty("out_bill_no")] + public string OutBillNo { get; set; } + } + + public class WxPayTradeBillApplyReponse + { + /// <summary> + /// 寰俊鏀粯璁㈠崟鍙� + /// </summary> + [JsonProperty("transfer_bill_no")] + public string TransferBillNo { get; set; } + } + + public class WxPayTradeBillQueryRequest + { + /// <summary> + /// 寰俊鏀粯璁㈠崟鍙� + /// </summary> + [JsonProperty("transfer_bill_no")] + public string TransferBillNo { get; set; } + } + + public class WxPayTradeBillQueryReponse + { + [JsonProperty("download_url")] + public string DownloadUrl { get; set; } + } } \ No newline at end of file -- Gitblit v1.9.1