mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-02-19 06:36:24 +08:00
style: format
This commit is contained in:
@@ -29,7 +29,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinExmailGroupCreateResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /cgi-bin/exmail/group/update 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95510 </para>
|
||||
@@ -49,7 +49,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinExmailGroupUpdateResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /cgi-bin/exmail/group/delete 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95510 </para>
|
||||
@@ -69,7 +69,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinExmailGroupDeleteResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [GET] /cgi-bin/exmail/group/search 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95510 </para>
|
||||
@@ -93,7 +93,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinExmailGroupSearchResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [GET] /cgi-bin/exmail/group/get 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95510 </para>
|
||||
@@ -136,7 +136,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinExmailPublicMailCreateResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /cgi-bin/exmail/publicmail/update 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95511 </para>
|
||||
@@ -156,7 +156,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinExmailPublicMailUpdateResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /cgi-bin/exmail/publicmail/delete 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95511 </para>
|
||||
@@ -176,7 +176,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinExmailPublicMailDeleteResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [GET] /cgi-bin/exmail/publicmail/search 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95510 </para>
|
||||
@@ -200,7 +200,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinExmailPublicMailSearchResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /cgi-bin/exmail/publicmail/get 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95510 </para>
|
||||
@@ -221,7 +221,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinExmailPublicMailGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region Account
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /cgi-bin/exmail/account/act_email 接口。</para>
|
||||
@@ -243,7 +243,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinExmailAccountActiveEmailResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region UserOption
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /cgi-bin/exmail/useroption/get 接口。</para>
|
||||
@@ -264,7 +264,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinExmailUserOptionGetResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /cgi-bin/exmail/useroption/update 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95513 </para>
|
||||
|
||||
@@ -374,7 +374,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinKfSyncMessageResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [GET] /cgi-bin/kf/get_corp_qualification 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95153 </para>
|
||||
@@ -394,7 +394,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinKfGetCorpQualificationResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /cgi-bin/kf/get_corp_statistic 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95489 </para>
|
||||
@@ -414,7 +414,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinKfGetCorpStatisticResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /cgi-bin/kf/get_servicer_statistic 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95490 </para>
|
||||
|
||||
@@ -436,7 +436,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinReportResidentGetOrderInfoResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region SiteCode
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /cgi-bin/report/sitecode/list 接口。</para>
|
||||
@@ -457,7 +457,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinReportSiteCodeListResponse>(flurlReq, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /cgi-bin/report/sitecode/get_site_report_info 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95461 </para>
|
||||
@@ -477,7 +477,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinReportSiteCodeGetSiteReportInfoResponse>(flurlReq, cancellationToken: cancellationToken);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [POST] /cgi-bin/report/sitecode/get_report_answer 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/95464 </para>
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
public Types.DepartmentIdList? AllowDepartmentIdList { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置业务邮箱列表。
|
||||
/// </summary>
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
||||
[Newtonsoft.Json.JsonProperty("userid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("userid")]
|
||||
public string? UserId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置功能设置列表。
|
||||
/// </summary>
|
||||
|
||||
@@ -40,4 +40,4 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("rule_list")]
|
||||
public Types.Rule[] RuleList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,4 +76,4 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("rule")]
|
||||
public Types.Rule Rule { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -93,4 +93,4 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product_list")]
|
||||
public Types.Product[] ProductList { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,4 +25,4 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("product")]
|
||||
public Types.Product Product { get; set; } = default!;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -259,7 +259,7 @@
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("s_timestamp")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("s_timestamp")]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.TextualNullableLongConverter))]
|
||||
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.TextualNullableLongConverter))]
|
||||
public long? Timestamp { get; set; }
|
||||
}
|
||||
|
||||
|
||||
@@ -361,4 +361,4 @@
|
||||
[System.Text.Json.Serialization.JsonPropertyName("external_profile")]
|
||||
public Types.ExternalProfile? ExternalProfile { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
|
||||
### 【更新日志】
|
||||
|
||||
[点此查看](https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat/blob/main/CHANGELOG.md)。
|
||||
[点此查看](https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat/blob/main/CHANGELOG.md)。
|
||||
|
||||
@@ -43,4 +43,4 @@
|
||||
<PackageReference Include="SKIT.FlurlHttpClient.Common" Version="2.5.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -8,17 +8,17 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
public abstract class WechatWorkResponse : ICommonResponse
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
///
|
||||
/// </summary>
|
||||
int ICommonResponse.RawStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
///
|
||||
/// </summary>
|
||||
IDictionary<string, string> ICommonResponse.RawHeaders { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
///
|
||||
/// </summary>
|
||||
byte[] ICommonResponse.RawBytes { get; set; } = default!;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user