feat(wxapi): 新增小程序短剧播放器推荐位控制接口

This commit is contained in:
Fu Diwei
2024-01-15 21:54:30 +08:00
parent bf4153e0c9
commit d64443d5fd
4 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /wxadrama/setplayerdramarecmdswitch 接口的请求。</para>
/// </summary>
public class WxaDramaSetPlayerDramaRecommendSwitchRequest : WechatApiRequest, IInferable<WxaDramaSetPlayerDramaRecommendSwitchRequest, WxaDramaSetPlayerDramaRecommendSwitchResponse>
{
/// <summary>
/// 获取或设置推荐位类型。
/// </summary>
[Newtonsoft.Json.JsonProperty("entry_type")]
[System.Text.Json.Serialization.JsonPropertyName("entry_type")]
public int EntryType { get; set; }
/// <summary>
/// 获取或设置是否打开。
/// </summary>
[Newtonsoft.Json.JsonProperty("switch_status")]
[System.Text.Json.Serialization.JsonPropertyName("switch_status")]
public bool IsOpen { get; set; }
}
}

View File

@@ -0,0 +1,9 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /wxadrama/setplayerdramarecmdswitch 接口的响应。</para>
/// </summary>
public class WxaDramaSetPlayerDramaRecommendSwitchResponse : WechatApiResponse
{
}
}