Browse Source

[WeChatPay-V3] 更新文档链接

Roc 4 years ago
parent
commit
03640c226e
21 changed files with 49 additions and 39 deletions
  1. 3 2
      samples/WebApplicationSample/Controllers/WeChatPayV3Controller.cs
  2. 2 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayCombineTransactionsAppModel.cs
  3. 2 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayCombineTransactionsH5Model.cs
  4. 3 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayCombineTransactionsJsApiModel.cs
  5. 2 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayCombineTransactionsNativeModel.cs
  6. 1 1
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayCombineTransactionsOutTradeNoCloseModel.cs
  7. 2 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayTransactionsAppModel.cs
  8. 2 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayTransactionsH5Model.cs
  9. 4 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayTransactionsJsApiModel.cs
  10. 2 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayTransactionsNativeModel.cs
  11. 6 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayTransactionsOutTradeNoCloseModel.cs
  12. 2 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Request/WeChatPayCombineTransactionsAppRequest.cs
  13. 2 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Request/WeChatPayCombineTransactionsH5Request.cs
  14. 3 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Request/WeChatPayCombineTransactionsJsApiRequest.cs
  15. 2 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Request/WeChatPayCombineTransactionsNativeRequest.cs
  16. 1 1
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Request/WeChatPayCombineTransactionsOutTradeNoCloseRequest.cs
  17. 1 1
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Request/WeChatPayCombineTransactionsOutTradeNoRequest.cs
  18. 2 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Response/WeChatPayCombineTransactionsAppResponse.cs
  19. 2 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Response/WeChatPayCombineTransactionsH5Response.cs
  20. 3 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Response/WeChatPayCombineTransactionsJsApiResponse.cs
  21. 2 2
      src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Response/WeChatPayCombineTransactionsNativeResponse.cs

+ 3 - 2
samples/WebApplicationSample/Controllers/WeChatPayV3Controller.cs

@@ -88,7 +88,7 @@ namespace WebApplicationSample.Controllers
                 var parameter = await _client.ExecuteAsync(req, _optionsAccessor.Value);
 
                 // 将参数(parameter)给 ios/android端 
-                // https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_7.shtml
+                // https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_4.shtml
                 ViewData["parameter"] = JsonSerializer.Serialize(parameter);
                 ViewData["response"] = response.Body;
                 return View();
@@ -140,7 +140,7 @@ namespace WebApplicationSample.Controllers
                 var parameter = await _client.ExecuteAsync(req, _optionsAccessor.Value);
 
                 // 将参数(parameter)给 公众号前端
-                // https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_8.shtml
+                // https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_4.shtml
                 ViewData["parameter"] = JsonSerializer.Serialize(parameter);
                 ViewData["response"] = response.Body;
                 return View();
@@ -220,6 +220,7 @@ namespace WebApplicationSample.Controllers
             var response = await _client.ExecuteAsync(request, _optionsAccessor.Value);
 
             // h5_url为拉起微信支付收银台的中间页面,可通过访问该url来拉起微信客户端,完成支付,h5_url的有效期为5分钟。
+            // https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_3_4.shtml
             ViewData["response"] = response.Body;
             return View();
         }

+ 2 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayCombineTransactionsAppModel.cs

@@ -5,9 +5,9 @@ using System.Text.Json.Serialization;
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Domain
 {
     /// <summary>
-    /// 合单下单-APP支付API-请求参数(电商平台、服务商、直连商户)
+    /// 合单APP下单API-请求参数(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.05.21
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_1.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_1.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsAppModel : WeChatPayObject
     {

+ 2 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayCombineTransactionsH5Model.cs

@@ -5,9 +5,9 @@ using System.Text.Json.Serialization;
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Domain
 {
     /// <summary>
-    /// 合单下单-H5支付API-请求参数(电商平台、服务商、直连商户)
+    /// 合单H5下单API-请求参数(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.06.09
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_9.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_2.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsH5Model : WeChatPayObject
     {

+ 3 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayCombineTransactionsJsApiModel.cs

@@ -5,9 +5,10 @@ using System.Text.Json.Serialization;
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Domain
 {
     /// <summary>
-    /// 合单下单-JSAPI支付API-请求参数(电商平台、服务商、直连商户)
+    /// 合单JSAPI下单API、合单小程序下单API-请求参数(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.05.21
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_2.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_3.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_4.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsJsApiModel : WeChatPayObject
     {

+ 2 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayCombineTransactionsNativeModel.cs

@@ -5,9 +5,9 @@ using System.Text.Json.Serialization;
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Domain
 {
     /// <summary>
-    /// 合单下单-Native支付API-请求参数(电商平台、服务商、直连商户)
+    /// 合单Native下单API-请求参数(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.05.14
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_10.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_5.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsNativeModel : WeChatPayObject
     {

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

@@ -6,7 +6,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Domain
     /// <summary>
     /// 合单关闭订单API-请求参数(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.03.31
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_4.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_12.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsOutTradeNoCloseModel : WeChatPayObject
     {

+ 2 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayTransactionsAppModel.cs

@@ -4,9 +4,9 @@ using System.Text.Json.Serialization;
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Domain
 {
     /// <summary>
-    /// APP下单API-请求参数
+    /// APP支付-统一下单API-请求参数
     /// 最新更新时间:2020.05.26
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_1.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_1.shtml
     /// </summary>
     public class WeChatPayTransactionsAppModel : WeChatPayObject
     {

+ 2 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayTransactionsH5Model.cs

@@ -4,9 +4,9 @@ using System.Text.Json.Serialization;
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Domain
 {
     /// <summary>
-    /// H5下单API-请求参数
+    /// H5支付-统一下单API-请求参数
     /// 最新更新时间:2020.05.26
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_4.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_3_1.shtml
     /// </summary>
     public class WeChatPayTransactionsH5Model : WeChatPayObject
     {

+ 4 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayTransactionsJsApiModel.cs

@@ -4,9 +4,11 @@ using System.Text.Json.Serialization;
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Domain
 {
     /// <summary>
-    /// JSAPI下单API-请求参数
+    /// JSAPI支付-统一下单API-请求参数
+    /// 小程序支付-统一下单API-请求参数
     /// 最新更新时间:2020.05.26
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_2.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_1.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_1.shtml
     /// </summary>
     public class WeChatPayTransactionsJsApiModel : WeChatPayObject
     {

+ 2 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayTransactionsNativeModel.cs

@@ -4,9 +4,9 @@ using System.Text.Json.Serialization;
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Domain
 {
     /// <summary>
-    /// Native下单API-请求参数
+    /// Native支付-统一下单API-请求参数
     /// 最新更新时间:2020.05.26
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_3.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_4_1.shtml
     /// </summary>
     public class WeChatPayTransactionsNativeModel : WeChatPayObject
     {

+ 6 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Domain/WeChatPayTransactionsOutTradeNoCloseModel.cs

@@ -3,9 +3,13 @@
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Domain
 {
     /// <summary>
-    /// 关闭订单API-请求参数
+    /// 关单API-请求参数
     /// 最新更新时间:2020.05.26
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_6.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_3.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_3.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_3_3.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_4_3.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_3.shtml
     /// </summary>
     public class WeChatPayTransactionsOutTradeNoCloseModel : WeChatPayObject
     {

+ 2 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Request/WeChatPayCombineTransactionsAppRequest.cs

@@ -3,9 +3,9 @@
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Request
 {
     /// <summary>
-    /// 合单下单-APP支付API(电商平台、服务商、直连商户)
+    /// 合单APP支付API(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.05.21
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_1.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_1.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsAppRequest : IWeChatPayPostRequest<WeChatPayCombineTransactionsAppResponse>
     {

+ 2 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Request/WeChatPayCombineTransactionsH5Request.cs

@@ -3,9 +3,9 @@
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Request
 {
     /// <summary>
-    /// 合单下单-H5支付API(电商平台、服务商、直连商户)
+    /// 合单H5支付API(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.06.09
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_9.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_2.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsH5Request : IWeChatPayPostRequest<WeChatPayCombineTransactionsH5Response>
     {

+ 3 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Request/WeChatPayCombineTransactionsJsApiRequest.cs

@@ -3,9 +3,10 @@
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Request
 {
     /// <summary>
-    /// 合单下单-JSAPI支付API(电商平台、服务商、直连商户)
+    /// 合单JSAPI支付API、合单小程序下单API(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.05.21
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_2.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_3.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_4.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsJsApiRequest : IWeChatPayPostRequest<WeChatPayCombineTransactionsJsApiResponse>
     {

+ 2 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Request/WeChatPayCombineTransactionsNativeRequest.cs

@@ -3,9 +3,9 @@
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Request
 {
     /// <summary>
-    /// 合单下单-Native支付API(电商平台、服务商、直连商户)
+    /// 合单Native支付API(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.05.14
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_10.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_5.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsNativeRequest : IWeChatPayPostRequest<WeChatPayCombineTransactionsNativeResponse>
     {

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

@@ -5,7 +5,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Request
     /// <summary>
     /// 合单关闭订单API(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.03.31
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_4.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_12.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsOutTradeNoCloseRequest : IWeChatPayPostRequest<WeChatPayCombineTransactionsOutTradeNoCloseResponse>
     {

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

@@ -5,7 +5,7 @@ namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Request
     /// <summary>
     /// 合单查询订单API(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.03.27
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_3.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_11.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsOutTradeNoRequest : IWeChatPayGetRequest<WeChatPayCombineTransactionsOutTradeNoResponse>
     {

+ 2 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Response/WeChatPayCombineTransactionsAppResponse.cs

@@ -3,9 +3,9 @@
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Response
 {
     /// <summary>
-    /// 合单下单-APP支付API-返回参数(电商平台、服务商、直连商户)
+    /// 合单APP支付API-返回参数(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.05.21
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_1.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_1.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsAppResponse : WeChatPayResponse
     {

+ 2 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Response/WeChatPayCombineTransactionsH5Response.cs

@@ -3,9 +3,9 @@
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Response
 {
     /// <summary>
-    /// 合单下单-H5支付API-返回参数(电商平台、服务商、直连商户)
+    /// 合单H5支付API-返回参数(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.06.09
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_9.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_2.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsH5Response : WeChatPayResponse
     {

+ 3 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Response/WeChatPayCombineTransactionsJsApiResponse.cs

@@ -3,9 +3,10 @@
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Response
 {
     /// <summary>
-    /// 合单下单-JSAPI支付API-返回参数(电商平台、服务商、直连商户)
+    /// 合单JSAPI支付API、合单小程序支付API-返回参数(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.05.21
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_2.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_3.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_4.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsJsApiResponse : WeChatPayResponse
     {

+ 2 - 2
src/Essensoft.AspNetCore.Payment.WeChatPay/V3/Response/WeChatPayCombineTransactionsNativeResponse.cs

@@ -3,9 +3,9 @@
 namespace Essensoft.AspNetCore.Payment.WeChatPay.V3.Response
 {
     /// <summary>
-    /// 合单下单-Native支付API-返回参数(电商平台、服务商、直连商户)
+    /// 合单Native支付API-返回参数(电商平台、服务商、直连商户)
     /// 最新更新时间:2020.05.14
-    /// https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_10.shtml
+    /// https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_10.shtml
     /// </summary>
     public class WeChatPayCombineTransactionsNativeResponse : WeChatPayResponse
     {