mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 18:04:42 +08:00
26 lines
833 B
C#
26 lines
833 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
|
|||
|
|
namespace SKIT.FlurlHttpClient.Wechat.Work.Models
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// <para>表示 [GET] /cgi-bin/get_jsapi_ticket 接口的响应。</para>
|
|||
|
|
/// </summary>
|
|||
|
|
public class CgibinGetJsapiTicketResponse : WechatWorkResponse
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获取或设置票据。
|
|||
|
|
/// </summary>
|
|||
|
|
[Newtonsoft.Json.JsonProperty("ticket")]
|
|||
|
|
[System.Text.Json.Serialization.JsonPropertyName("ticket")]
|
|||
|
|
public string Ticket { get; set; } = default!;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获取或设置票据有效期(单位:秒)。
|
|||
|
|
/// </summary>
|
|||
|
|
[Newtonsoft.Json.JsonProperty("expires_in")]
|
|||
|
|
[System.Text.Json.Serialization.JsonPropertyName("expires_in")]
|
|||
|
|
public int ExpiresIn { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|