Browse Source

修正 WeChatPayNotifyResult.Failure

Roc 5 years ago
parent
commit
c5dbab8e22

+ 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>
         /// 成功