mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-20 18:48:10 +08:00
feat(work): 随官方更新微信客服接待人员管理相关接口模型
This commit is contained in:
@@ -32,7 +32,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>异步调用 [GET] /cgi-bin/kf/account/list 接口。</para>
|
||||
/// <para>异步调用 [POST] /cgi-bin/kf/account/list 接口。</para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/94661 </para>
|
||||
/// <para>REF: https://developer.work.weixin.qq.com/document/path/94691 </para>
|
||||
/// </summary>
|
||||
@@ -46,7 +46,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work
|
||||
if (request is null) throw new ArgumentNullException(nameof(request));
|
||||
|
||||
IFlurlRequest flurlReq = client
|
||||
.CreateRequest(request, HttpMethod.Get, "cgi-bin", "kf", "account", "list")
|
||||
.CreateRequest(request, HttpMethod.Post, "cgi-bin", "kf", "account", "list")
|
||||
.SetQueryParam("access_token", request.AccessToken);
|
||||
|
||||
return await client.SendRequestWithJsonAsync<Models.CgibinKfAccountListResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
|
||||
|
Reference in New Issue
Block a user