fix(tenpayv3): 修复代码分析工具检测出的 API 定义问题

This commit is contained in:
Fu Diwei
2021-06-09 17:11:55 +08:00
parent b61890ccf4
commit 017acf36e9
16 changed files with 17 additions and 17 deletions

View File

@@ -95,7 +95,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
} }
/// <summary> /// <summary>
/// <para>异步调用 [POST] /goldplan/merchants/open-advertising-close 接口。</para> /// <para>异步调用 [POST] /goldplan/merchants/close-advertising-show 接口。</para>
/// <para>REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_5_5.shtml </para> /// <para>REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_5_5.shtml </para>
/// </summary> /// </summary>
/// <param name="client"></param> /// <param name="client"></param>
@@ -108,7 +108,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
if (request is null) throw new ArgumentNullException(nameof(request)); if (request is null) throw new ArgumentNullException(nameof(request));
IFlurlRequest flurlReq = client IFlurlRequest flurlReq = client
.CreateRequest(HttpMethod.Post, "goldplan", "merchants", "open-advertising-close") .CreateRequest(HttpMethod.Post, "goldplan", "merchants", "close-advertising-show")
.SetOptions(request); .SetOptions(request);
return await client.SendRequestWithJsonAsync<Models.CloseGoldPlanAdvertisingShowResponse>(flurlReq, data: request, cancellationToken: cancellationToken); return await client.SendRequestWithJsonAsync<Models.CloseGoldPlanAdvertisingShowResponse>(flurlReq, data: request, cancellationToken: cancellationToken);

View File

@@ -15,7 +15,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
public static class WechatTenpayClientExecuteMerchantFundBalanceExtensions public static class WechatTenpayClientExecuteMerchantFundBalanceExtensions
{ {
/// <summary> /// <summary>
/// <para>异步调用 [GET] /merchant/fund/balance/{sub_mchid} 接口。</para> /// <para>异步调用 [GET] /merchant/fund/balance/{account_type} 接口。</para>
/// <para>REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_7_3.shtml </para> /// <para>REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_7_3.shtml </para>
/// </summary> /// </summary>
/// <param name="client"></param> /// <param name="client"></param>

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [GET] /billdownload/file 接口的请求。</para> /// <para>表示 [GET] /{download_url} 接口的请求。</para>
/// </summary> /// </summary>
public class DownloadBillFileRequest : WechatTenpayRequest public class DownloadBillFileRequest : WechatTenpayRequest
{ {

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [GET] /billdownload/file 接口的响应。</para> /// <para>表示 [GET] /{download_url} 接口的响应。</para>
/// </summary> /// </summary>
public class DownloadBillFileResponse : WechatTenpayResponse public class DownloadBillFileResponse : WechatTenpayResponse
{ {

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [GET] /brand/profitsharing/receivers/add 接口的请求。</para> /// <para>表示 [POST] /brand/profitsharing/receivers/add 接口的请求。</para>
/// </summary> /// </summary>
public class AddBrandProfitSharingReceiverRequest : WechatTenpayRequest public class AddBrandProfitSharingReceiverRequest : WechatTenpayRequest
{ {

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [GET] /brand/profitsharing/receivers/add 接口的响应。</para> /// <para>表示 [POST] /brand/profitsharing/receivers/add 接口的响应。</para>
/// </summary> /// </summary>
public class AddBrandProfitSharingReceiverResponse : WechatTenpayResponse public class AddBrandProfitSharingReceiverResponse : WechatTenpayResponse
{ {

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [GET] /brand/profitsharing/receivers/delete 接口的请求。</para> /// <para>表示 [POST] /brand/profitsharing/receivers/delete 接口的请求。</para>
/// </summary> /// </summary>
public class DeleteBrandProfitSharingReceiverRequest : WechatTenpayRequest public class DeleteBrandProfitSharingReceiverRequest : WechatTenpayRequest
{ {

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [GET] /brand/profitsharing/receivers/delete 接口的响应。</para> /// <para>表示 [POST] /brand/profitsharing/receivers/delete 接口的响应。</para>
/// </summary> /// </summary>
public class DeleteBrandProfitSharingReceiverResponse : WechatTenpayResponse public class DeleteBrandProfitSharingReceiverResponse : WechatTenpayResponse
{ {

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [GET] /ecommerce/profitsharing/receivers/add 接口的请求。</para> /// <para>表示 [POST] /ecommerce/profitsharing/receivers/add 接口的请求。</para>
/// </summary> /// </summary>
public class AddEcommerceProfitSharingReceiverRequest : WechatTenpayRequest public class AddEcommerceProfitSharingReceiverRequest : WechatTenpayRequest
{ {

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [GET] /ecommerce/profitsharing/receivers/add 接口的响应。</para> /// <para>表示 [POST] /ecommerce/profitsharing/receivers/add 接口的响应。</para>
/// </summary> /// </summary>
public class AddEcommerceProfitSharingReceiverResponse : WechatTenpayResponse public class AddEcommerceProfitSharingReceiverResponse : WechatTenpayResponse
{ {

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [GET] /ecommerce/profitsharing/receivers/delete 接口的请求。</para> /// <para>表示 [POST] /ecommerce/profitsharing/receivers/delete 接口的请求。</para>
/// </summary> /// </summary>
public class DeleteEcommerceProfitSharingReceiverRequest : WechatTenpayRequest public class DeleteEcommerceProfitSharingReceiverRequest : WechatTenpayRequest
{ {

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [GET] /ecommerce/profitsharing/receivers/delete 接口的响应。</para> /// <para>表示 [POST] /ecommerce/profitsharing/receivers/delete 接口的响应。</para>
/// </summary> /// </summary>
public class DeleteEcommerceProfitSharingReceiverResponse : WechatTenpayResponse public class DeleteEcommerceProfitSharingReceiverResponse : WechatTenpayResponse
{ {

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [POST] /marketing/paygiftactivity/activities/{activity_id} 接口的请求。</para> /// <para>表示 [GET] /marketing/paygiftactivity/activities/{activity_id} 接口的请求。</para>
/// </summary> /// </summary>
public class GetMarketingPayGiftActivityByActivityIdRequest : WechatTenpayRequest public class GetMarketingPayGiftActivityByActivityIdRequest : WechatTenpayRequest
{ {

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [POST] /marketing/paygiftactivity/activities/{activity_id} 接口的响应。</para> /// <para>表示 [GET] /marketing/paygiftactivity/activities/{activity_id} 接口的响应。</para>
/// </summary> /// </summary>
public class GetMarketingPayGiftActivityByActivityIdResponse : WechatTenpayResponse public class GetMarketingPayGiftActivityByActivityIdResponse : WechatTenpayResponse
{ {

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [POST] /payscore/permissions/terminate 接口的请求。</para> /// <para>表示 [POST] /payscore/partner/permissions/terminate 接口的请求。</para>
/// </summary> /// </summary>
public class TerminatePayScorePartnerPermissionsByOpenIdRequest : TerminatePayScorePermissionsByOpenIdRequest public class TerminatePayScorePartnerPermissionsByOpenIdRequest : TerminatePayScorePermissionsByOpenIdRequest
{ {

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
{ {
/// <summary> /// <summary>
/// <para>表示 [POST] /payscore/serviceorder 接口的响应。</para> /// <para>表示 [POST] /payscore/serviceorder/direct-complete 接口的响应。</para>
/// </summary> /// </summary>
public class CreatePayScoreServiceOrderDirectCompleteResponse : WechatTenpayResponse public class CreatePayScoreServiceOrderDirectCompleteResponse : WechatTenpayResponse
{ {