From 9810e089cb8f0615e333f7e79606e3a0a56e7787 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期一, 31 三月 2025 16:14:10 +0800 Subject: [PATCH] fix:提交 --- 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