From dbf044662b9a75e5b42f8f76c65faaf89c95bb21 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期三, 02 四月 2025 19:36:48 +0800 Subject: [PATCH] fix:bug修复 --- LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs b/LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs index 31035da..b6b6144 100644 --- a/LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs +++ b/LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs @@ -241,7 +241,42 @@ /// </summary> [JsonProperty("refund_status")] public string RefundStatus { get; set; } + + [JsonProperty("amount")] + public RefundAmount Amount { get; set; } } + + public class RefundAmount + { + /// <summary> + /// 鎬婚噾棰� + /// </summary> + [JsonProperty("total", NullValueHandling = NullValueHandling.Ignore)] + [Required] + public int Total { get; set; } + + /// <summary> + /// 閫�娆鹃噾棰� + /// </summary> + [JsonProperty("refund", NullValueHandling = NullValueHandling.Ignore)] + [Required] + public int Refund { get; set; } + + /// <summary> + /// 鐢ㄦ埛瀹為檯鏀粯閲戦 + /// </summary> + [JsonProperty("payer_total", NullValueHandling = NullValueHandling.Ignore)] + [Required] + public string PayerTotal { get; set; } + + /// <summary> + /// 鐢ㄦ埛閫�娆鹃噾棰� + /// </summary> + [JsonProperty("payer_refund", NullValueHandling = NullValueHandling.Ignore)] + [Required] + public string PayerRefund { get; set; } + } + public class WxRechargeNotifyResult { /// <summary> -- Gitblit v1.9.1