docs: 完善文档

This commit is contained in:
Fu Diwei
2023-08-11 20:47:13 +08:00
parent b7fec2b22c
commit dc7def5822
34 changed files with 384 additions and 176 deletions

View File

@@ -140,7 +140,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
/// <param name="request"></param>
/// <param name="cancellationToken"></param>
/// <returns></returns>
public static async Task<Models.PunchTaxiInvoiceAttendanceResponse> ExecutePunchTaxiInvoiceAttendanceAsync(this WechatTenpayClient client, Models.PunchTaxiInvoiceAttendanceRequest request, CancellationToken cancellationToken = default)
public static async Task<Models.CreateTaxiInvoicePunchAttendanceResponse> ExecuteCreateTaxiInvoicePunchAttendanceAsync(this WechatTenpayClient client, Models.CreateTaxiInvoicePunchAttendanceRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
@@ -148,7 +148,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateRequest(request, HttpMethod.Post, "taxi-invoice", "attendance", "punch");
return await client.SendRequestWithJsonAsync<Models.PunchTaxiInvoiceAttendanceResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
return await client.SendRequestWithJsonAsync<Models.CreateTaxiInvoicePunchAttendanceResponse>(flurlReq, data: request, cancellationToken: cancellationToken);
}
#endregion