mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-24 04:53:46 +08:00
feat(wxapi): 新增小程序企业微信客服相关接口
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /customservice/work/bind 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class CustomServiceWorkBindRequest : WechatApiRequest, IInferable<CustomServiceWorkBindRequest, CustomServiceWorkBindResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置企业 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("corpid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("corpid")]
|
||||
public string CorpId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /customservice/work/bind 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class CustomServiceWorkBindResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /customservice/work/get 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class CustomServiceWorkGetRequest : WechatApiRequest, IInferable<CustomServiceWorkGetRequest, CustomServiceWorkGetResponse>
|
||||
{
|
||||
}
|
||||
}
|
@@ -0,0 +1,29 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /customservice/work/get 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class CustomServiceWorkGetResponse : WechatApiResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置主体名称。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("entityName")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("entityName")]
|
||||
public string? EntityName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置企业 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("corpid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("corpid")]
|
||||
public string? CorpId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取或设置绑定时间戳。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("bindTime")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("bindTime")]
|
||||
public long? BindTimestamp { get; set; }
|
||||
}
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /customservice/work/unbind 接口的请求。</para>
|
||||
/// </summary>
|
||||
public class CustomServiceWorkUnbindRequest : WechatApiRequest, IInferable<CustomServiceWorkUnbindRequest, CustomServiceWorkUnbindResponse>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置企业 ID。
|
||||
/// </summary>
|
||||
[Newtonsoft.Json.JsonProperty("corpid")]
|
||||
[System.Text.Json.Serialization.JsonPropertyName("corpid")]
|
||||
public string CorpId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>表示 [POST] /customservice/work/unbind 接口的响应。</para>
|
||||
/// </summary>
|
||||
public class CustomServiceWorkUnbindResponse : WechatApiResponse
|
||||
{
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user