فهرست منبع

修正 WeChatPayNotifyResult.Failure

Roc 5 سال پیش
والد
کامیت
c5dbab8e22
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/WeChatPayNotifyResult.cs

+ 1 - 1
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/WeChatPayNotifyResult.cs

@@ -10,7 +10,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3
     public static class WeChatPayNotifyResult
     {
         private static readonly ContentResult success = new ContentResult { Content = "{\"code\":\"SUCCESS\",\"message\":\"SUCCESS\"}", ContentType = "application/json", StatusCode = 200 };
-        private static readonly ContentResult failure = new ContentResult { Content = "{\"code\":\"FAIL\",\"message\":\"FAIL\"}", ContentType = "application/json", StatusCode = 200 };
+        private static readonly ContentResult failure = new ContentResult { Content = "{\"code\":\"FAIL\",\"message\":\"FAIL\"}", ContentType = "application/json", StatusCode = 500 };
 
         /// <summary>
         /// 成功