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>

View File

@@ -6,7 +6,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /brand/profitsharing/brand-configs/{brand_mchid} 接口的请求。</para>
/// </summary>
public class GetBrandProfitBrandConfigsRequest : WechatTenpayRequest
public class GetBrandProfitSharingBrandConfigsRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置品牌主商户号。

View File

@@ -6,7 +6,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
/// <summary>
/// <para>表示 [GET] /brand/profitsharing/brand-configs/{brand_mchid} 接口的响应。</para>
/// </summary>
public class GetBrandProfitBrandConfigsResponse : WechatTenpayResponse
public class GetBrandProfitSharingBrandConfigsResponse : WechatTenpayResponse
{
/// <summary>
/// 获取或设置品牌主商户号。

View File

@@ -16,7 +16,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
public string BrandMerchantId { get; set; } = default!;
/// <summary>
/// 获取或设置二级商户号。
/// 获取或设置微信子商户号。
/// </summary>
[Newtonsoft.Json.JsonProperty("sub_mchid")]
[System.Text.Json.Serialization.JsonPropertyName("sub_mchid")]

View File

@@ -9,7 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
public class SetBrandProfitSharingOrderFinishResponse : WechatTenpayResponse
{
/// <summary>
/// 获取或设置二级商户号。
/// 获取或设置微信子商户号。
/// </summary>
[Newtonsoft.Json.JsonProperty("sub_mchid")]
[System.Text.Json.Serialization.JsonPropertyName("sub_mchid")]

View File

@@ -9,7 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
public class CreateEcommerceProfitSharingOrderResponse : WechatTenpayResponse
{
/// <summary>
/// 获取或设置二级商户号。
/// 获取或设置微信子商户号。
/// </summary>
[Newtonsoft.Json.JsonProperty("sub_mchid")]
[System.Text.Json.Serialization.JsonPropertyName("sub_mchid")]

View File

@@ -9,7 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
public class GetEcommerceProfitSharingOrderByOutOrderNumberRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置二级商户号。
/// 获取或设置微信子商户号。
/// </summary>
[Newtonsoft.Json.JsonIgnore]
[System.Text.Json.Serialization.JsonIgnore]

View File

@@ -9,7 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
public class GetEcommerceProfitSharingReturnOrderByOrderIdRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置二级商户号。
/// 获取或设置微信子商户号。
/// </summary>
[Newtonsoft.Json.JsonIgnore]
[System.Text.Json.Serialization.JsonIgnore]

View File

@@ -9,7 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
public class GetEcommerceProfitSharingReturnOrderByOutOrderNumberRequest : WechatTenpayRequest
{
/// <summary>
/// 获取或设置二级商户号。
/// 获取或设置微信子商户号。
/// </summary>
[Newtonsoft.Json.JsonIgnore]
[System.Text.Json.Serialization.JsonIgnore]

View File

@@ -9,7 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
public class SetEcommerceProfitSharingOrderFinishResponse : WechatTenpayResponse
{
/// <summary>
/// 获取或设置二级商户号。
/// 获取或设置微信二级商户号。
/// </summary>
[Newtonsoft.Json.JsonProperty("sub_mchid")]
[System.Text.Json.Serialization.JsonPropertyName("sub_mchid")]