From 0a6ddcc8360063c8138965b69baf1fb563f6a0d8 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期二, 20 五月 2025 10:58:45 +0800
Subject: [PATCH] build:.gitignore添加../.vs/

---
 LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs b/LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs
index afb1d87..41be1d0 100644
--- a/LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs
+++ b/LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs
@@ -47,8 +47,9 @@
         {
             try
             {
-                _logger.LogError($"鐢熸椿绠″寰俊鍏呭�煎洖璋冮�氱煡锛氳繘鍏ュ井淇″洖璋�");
+                _logger.LogError($"鐢熸椿绠″寰俊鍏呭�煎洖璋冮�氱煡锛氳繘鍏ュ井淇″洖璋�:");
                 var data = _wxPayApi.AesGcmDecrypt(input.Resource.AssociatedData, input.Resource.Nonce, input.Resource.Ciphertext);
+                _logger.LogError($"鐢熸椿绠″寰俊鍏呭�煎洖璋冮�氱煡data锛�" + data);
                 var wxPayNotice = JsonConvert.DeserializeObject<WxPayNotice>(data);
 
                 if (wxPayNotice.OutTradeNo.Contains("JF") )
@@ -98,18 +99,15 @@
             {
                 _logger.LogError($"寰俊閫�娆惧洖璋冮�氱煡锛氳繘鍏ュ井淇″洖璋�");
                 var data = _wxPayApi.AesGcmDecrypt(input.Resource.AssociatedData, input.Resource.Nonce, input.Resource.Ciphertext);
+                _logger.LogError($"寰俊閫�娆惧洖璋冮�氱煡data锛�"+ data);
                 var wxPayNotice = JsonConvert.DeserializeObject<WxPayDomesticRefundsNotice>(data);
 
                 if (wxPayNotice.OutTradeNo.Contains("JF"))
                 {
-                    if (wxPayNotice.RefundStatus == LifePaymentConstant.WxPayRefundStatus.閫�娆炬垚鍔�)
-                    {
-                        
-                    }
+                   
                     switch (wxPayNotice.RefundStatus)
                     {
                         case LifePaymentConstant.WxPayRefundStatus.閫�娆炬垚鍔�:
-                        case LifePaymentConstant.WxPayRefundStatus.閫�娆惧叧闂�:
                             await _lifePayService.LifePayRefundsHandler(wxPayNotice.OutTradeNo, LifePayRefundStatusEnum.宸查��娆�);
                             // 鎻掑叆鏀舵敮娴佹按
                             await _lifePayOrderService.AddLifePayExpensesReceipts(new AddLifePayExpensesReceiptsInput()
@@ -122,9 +120,8 @@
                                 Amount = wxPayNotice.Amount.Total
                             });
                             break;
+                        case LifePaymentConstant.WxPayRefundStatus.閫�娆惧叧闂�:
                         case LifePaymentConstant.WxPayRefundStatus.閫�娆惧鐞嗕腑:
-                            await _lifePayService.LifePayRefundsHandler(wxPayNotice.OutTradeNo, LifePayRefundStatusEnum.閫�娆句腑);
-                            break;
                         case LifePaymentConstant.WxPayRefundStatus.閫�娆惧紓甯�:
                             await _lifePayService.LifePayRefundsHandler(wxPayNotice.OutTradeNo, LifePayRefundStatusEnum.閫�娆句腑);
                             break;

--
Gitblit v1.9.1