瀏覽代碼

修正 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>
         /// 成功