style(tenpayv3): clean code

This commit is contained in:
Fu Diwei
2021-07-06 13:06:03 +08:00
parent 1702b01ca5
commit 61733787c4
10 changed files with 11 additions and 11 deletions

View File

@@ -171,7 +171,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.GetBrandProfitBrandConfigsResponse> ExecuteGetBrandProfitBrandConfigsAsync(this WechatTenpayClient client, Models.GetBrandProfitBrandConfigsRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.GetBrandProfitSharingBrandConfigsResponse> ExecuteGetBrandProfitSharingBrandConfigsAsync(this WechatTenpayClient client, Models.GetBrandProfitSharingBrandConfigsRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@@ -180,7 +180,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
.CreateRequest(HttpMethod.Get, "brand", "profitsharing", "brand-configs", request.BrandMerchantId)
.SetOptions(request);
return await client.SendRequestAsync<Models.GetBrandProfitBrandConfigsResponse>(flurlReq, cancellationToken: cancellationToken);
return await client.SendRequestAsync<Models.GetBrandProfitSharingBrandConfigsResponse>(flurlReq, cancellationToken: cancellationToken);
}
/// <summary>