mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 09:54:44 +08:00
style: clean code
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Ads.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Ads.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /credit_bills/get 接口的请求。</para>
|
||||
@@ -42,6 +39,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Ads.Models
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
public override string? Version { get; set; } = "v1.1";
|
||||
public override string Version { get; set; } = "v1.1";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Ads.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Ads.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /fund_statements_detailed/get 接口的请求。</para>
|
||||
@@ -42,6 +39,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Ads.Models
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
public override string? Version { get; set; } = "v1.1";
|
||||
public override string Version { get; set; } = "v1.1";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Ads.Models
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Ads.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [GET] /funds/get 接口的请求。</para>
|
||||
@@ -14,6 +11,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Ads.Models
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
public override string? Version { get; set; } = "v1.1";
|
||||
public override string Version { get; set; } = "v1.1";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Ads
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Ads
|
||||
{
|
||||
/// <summary>
|
||||
/// 一个用于构造 <see cref="WechatAdsClient"/> 时使用的配置项。
|
||||
@@ -17,7 +15,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Ads
|
||||
/// 获取或设置微信广告平台 API 域名。
|
||||
/// <para>默认值:<see cref="WechatAdsEndpoints.DEFAULT"/></para>
|
||||
/// </summary>
|
||||
public string? Endpoints { get; set; } = WechatAdsEndpoints.DEFAULT;
|
||||
public string Endpoints { get; set; } = WechatAdsEndpoints.DEFAULT;
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置微信广告平台服务商 ID。
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Ads
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Ads
|
||||
{
|
||||
/// <summary>
|
||||
/// 微信广告平台 API 请求的基类。
|
||||
@@ -27,6 +25,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Ads
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonIgnore]
|
||||
[System.Text.Json.Serialization.JsonIgnore]
|
||||
public virtual string? Version { get; set; } = "v1.0";
|
||||
public virtual string Version { get; set; } = "v1.0";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user