From 5e918c353d039a75f552f4eb0cc251e96ef809ab Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期二, 01 四月 2025 09:58:54 +0800
Subject: [PATCH] fix:bug修复

---
 LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs |  152 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 147 insertions(+), 5 deletions(-)

diff --git a/LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs b/LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs
index 4c235b5..82d0a98 100644
--- a/LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs
+++ b/LifePayment/LifePayment.Domain.Shared/WeChat/WxPayPostBaseModel.cs
@@ -613,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
@@ -721,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
@@ -795,4 +802,139 @@
         [JsonProperty("download_url")]
         public string DownloadUrl { get; set; }
     }
+
+    public class WxPayDomesticRefundsQueryReponse
+    {
+        /// <summary>
+        /// 杩斿洖缁撴灉
+        /// </summary>
+        [JsonProperty("code")]
+        public string Code { get; set; }
+
+        /// <summary>
+        /// 杩斿洖淇℃伅
+        /// </summary>
+        [JsonProperty("message")]
+        public string Message { get; set; }
+
+        /// <summary>
+        /// 寰俊鏀粯閫�娆惧崟鍙�
+        /// </summary>
+        [JsonProperty("refund_id ")]
+        public string RefundId { get; set; }
+
+
+        /// <summary>
+        /// 寰俊鏀粯閫�娆剧姸鎬�
+        /// </summary>
+        [JsonProperty("refund_status ")]
+        public string RefundStatus { get; set; }
+
+        /// <summary>
+        /// 鍟嗘埛閫�娆惧崟鍙�
+        /// </summary>
+        [JsonProperty("out_refund_no")]
+        public string DownloadUrl { get; set; }
+        /// <summary>
+        /// 寰俊鏀粯璁㈠崟鍙�
+        /// </summary>
+        [JsonProperty("transaction_id ")]
+        public string TransactionId { get; set; }
+
+        /// <summary>
+        /// 鍟嗘埛璁㈠崟鍙�
+        /// </summary>
+        [JsonProperty("out_trade_no")]
+        public string OutTradeNo { get; set; }
+
+        /// <summary>
+        /// 閫�娆炬笭閬�  ORIGINAL: 鍘熻矾閫�娆�  BALANCE: 閫�鍥炲埌浣欓  OTHER_BALANCE: 鍘熻处鎴峰紓甯搁��鍒板叾浠栦綑棰濊处鎴�  OTHER_BANKCARD: 鍘熼摱琛屽崱寮傚父閫�鍒板叾浠栭摱琛屽崱(鍙戣捣寮傚父閫�娆炬垚鍔熷悗杩斿洖)
+        /// </summary>
+        [JsonProperty("channel")]
+        public string Channel { get; set; }
+        /// <summary>
+        /// 閫�娆惧叆璐﹁处鎴�
+        /// </summary>
+        [JsonProperty("user_received_account")]
+        public string UserReceivedAccount { get; set; }
+
+        /// <summary>
+        /// 閫�娆炬垚鍔熸椂闂�
+        /// </summary>
+        [JsonProperty("success_time")]
+        public string SuccessTime { get; set; }
+        /// <summary>
+        /// 閫�娆惧垱寤烘椂闂�
+        /// </summary>
+        [JsonProperty("create_time")]
+        public string CreateTime { get; set; }
+
+        /// <summary>
+        /// 閫�娆剧姸鎬� SUCCESS: 閫�娆炬垚鍔� CLOSED: 閫�娆惧叧闂� PROCESSING: 閫�娆惧鐞嗕腑 ABNORMAL: 閫�娆惧紓甯�
+        /// </summary>
+        [JsonProperty("status")]
+        public string Status { get; set; }
+
+        /// <summary>
+        /// 閲戦淇℃伅
+        /// </summary>
+        [JsonProperty("amount")]
+        public Model_WxPayDomesticRefunds_Amount Amount { get; set; }
+    }
+    
+    public class WxPayTradeQueryReponse
+    {
+        /// <summary>
+        /// 杩斿洖缁撴灉
+        /// </summary>
+        [JsonProperty("code")]
+        public string Code { get; set; }
+
+        /// <summary>
+        /// 杩斿洖淇℃伅
+        /// </summary>
+        [JsonProperty("message")]
+        public string Message { get; set; }
+
+        /// <summary>
+        /// 鍟嗘埛璁㈠崟鍙�
+        /// </summary>
+        [JsonProperty("out_trade_no")]
+        public string OutTradeNo { get; set; }
+
+        /// <summary>
+        /// 寰俊鏀粯璁㈠崟鍙�
+        /// </summary>
+        [JsonProperty("transaction_id")]
+        public string TransactionId { get; set; }
+
+        /// <summary>
+        /// 浜ゆ槗绫诲瀷
+        /// </summary>
+        [JsonProperty("trade_type")]
+        public string TradeType { get; set; }
+
+
+        /// <summary>
+        /// 浜ゆ槗鐘舵��
+        /// </summary>
+        [JsonProperty("trade_state")]
+        public string TradeState { get; set; }
+
+        /// <summary>
+        /// 浜ゆ槗鐘舵�佹弿杩�
+        /// </summary>
+        [JsonProperty("trade_state_desc")]
+        public string TradeStateDesc { get; set; }
+
+
+        [JsonProperty("success_time")]
+        public string? SuccessTime { get; set; }
+
+        // <summary>
+        /// 閲戦淇℃伅
+        /// </summary>
+        [JsonProperty("amount")]
+        public Model_WxPayDomesticRefunds_Amount Amount { get; set; }
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.1