From 7a540f529d2c9a541993bc9818cad9c9093fec91 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 03 十二月 2025 11:04:35 +0800
Subject: [PATCH] fix: bug
---
LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs | 38 +++++++++++++++++++++++++++++++++++++-
1 files changed, 37 insertions(+), 1 deletions(-)
diff --git a/LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs b/LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs
index 31035da..69562a2 100644
--- a/LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs
+++ b/LifePayment/LifePayment.Domain/WeChat/WxRechargeInfo.cs
@@ -1,5 +1,6 @@
锘縰sing LifePayment.Domain.Shared;
using Newtonsoft.Json;
+using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace LifePayment.Application.Contracts
@@ -201,7 +202,7 @@
/// 浼樻儬鍔熻兘
/// </summary>
[JsonProperty("promotion_detail")]
- public PromotionDetail PromotionDetail { get; set; }
+ public List<PromotionDetail> PromotionDetail { get; set; }
}
@@ -241,7 +242,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