diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaSecVod/SecVodAuditEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaSecVod/SecVodAuditEvent.cs
new file mode 100644
index 00000000..bc19ce1c
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaSecVod/SecVodAuditEvent.cs
@@ -0,0 +1,77 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+{
+ ///
+ /// 表示 EVENT.secvod_audit_event 事件的数据。
+ /// REF: https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/mini-drama/mini_drama.html#_7-2-%E5%AE%A1%E6%A0%B8%E7%8A%B6%E6%80%81%E4%BA%8B%E4%BB%B6
+ ///
+ public class SecVodAuditEvent : WechatApiEvent
+ {
+ public static class Types
+ {
+ public class EventData
+ {
+ public static class Types
+ {
+ public class AuditDetail
+ {
+ ///
+ /// 获取或设置审核类型。
+ ///
+ [Newtonsoft.Json.JsonProperty("audit_type")]
+ [System.Text.Json.Serialization.JsonPropertyName("audit_type")]
+ [System.Xml.Serialization.XmlElement("audit_type")]
+ public int AuditType { get; set; }
+
+ ///
+ /// 获取或设置审核状态。
+ ///
+ [Newtonsoft.Json.JsonProperty("status")]
+ [System.Text.Json.Serialization.JsonPropertyName("status")]
+ [System.Xml.Serialization.XmlElement("status")]
+ public int Status { get; set; }
+
+ ///
+ /// 获取或设置提审时间戳。
+ ///
+ [Newtonsoft.Json.JsonProperty("create_time")]
+ [System.Text.Json.Serialization.JsonPropertyName("create_time")]
+ [System.Xml.Serialization.XmlElement("create_time")]
+ public long CreateTimestamp { get; set; }
+
+ ///
+ /// 获取或设置审核时间戳。
+ ///
+ [Newtonsoft.Json.JsonProperty("audit_time")]
+ [System.Text.Json.Serialization.JsonPropertyName("audit_time")]
+ [System.Xml.Serialization.XmlElement("audit_time")]
+ public long? AuditTimestamp { get; set; }
+ }
+ }
+
+ ///
+ /// 获取或设置剧目 ID。
+ ///
+ [Newtonsoft.Json.JsonProperty("drama_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("drama_id")]
+ [System.Xml.Serialization.XmlElement("drama_id")]
+ public string DramaId { get; set; } = default!;
+
+ ///
+ /// 获取或设置审核信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("audit_detail")]
+ [System.Text.Json.Serialization.JsonPropertyName("audit_detail")]
+ [System.Xml.Serialization.XmlElement("audit_detail")]
+ public Types.AuditDetail AuditDetail { get; set; } = default!;
+ }
+ }
+
+ ///
+ /// 获取或设置事件信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("audit_event")]
+ [System.Text.Json.Serialization.JsonPropertyName("audit_event")]
+ [System.Xml.Serialization.XmlElement("audit_event")]
+ public Types.EventData EventData { get; set; } = default!;
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaSecVod/SecVodUploadEvent.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaSecVod/SecVodUploadEvent.cs
new file mode 100644
index 00000000..c10e2738
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Events/WxaSecVod/SecVodUploadEvent.cs
@@ -0,0 +1,55 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Events
+{
+ ///
+ /// 表示 EVENT.secvod_upload_event 事件的数据。
+ /// REF: https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/mini-drama/mini_drama.html#_7-1-%E5%AA%92%E8%B5%84%E4%B8%8A%E4%BC%A0%E5%AE%8C%E6%88%90%E4%BA%8B%E4%BB%B6%20SecVod
+ ///
+ public class SecVodUploadEvent : WechatApiEvent
+ {
+ public static class Types
+ {
+ public class EventData
+ {
+ ///
+ /// 获取或设置 MediaId。
+ ///
+ [Newtonsoft.Json.JsonProperty("media_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("media_id")]
+ [System.Xml.Serialization.XmlElement("media_id")]
+ public string MediaId { get; set; } = default!;
+
+ ///
+ /// 获取或设置来源上下文。
+ ///
+ [Newtonsoft.Json.JsonProperty("source_context")]
+ [System.Text.Json.Serialization.JsonPropertyName("source_context")]
+ [System.Xml.Serialization.XmlElement("source_context")]
+ public string SourceContext { get; set; } = default!;
+
+ ///
+ /// 获取或设置错误码。
+ ///
+ [Newtonsoft.Json.JsonProperty("errcode")]
+ [System.Text.Json.Serialization.JsonPropertyName("errcode")]
+ [System.Xml.Serialization.XmlElement("errcode")]
+ public int ErrorCode { get; set; }
+
+ ///
+ /// 获取或设置错误信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("errmsg")]
+ [System.Text.Json.Serialization.JsonPropertyName("errmsg")]
+ [System.Xml.Serialization.XmlElement("errmsg", IsNullable = true)]
+ public string? ErrorMessage { get; set; }
+ }
+ }
+
+ ///
+ /// 获取或设置事件信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("upload_event")]
+ [System.Text.Json.Serialization.JsonPropertyName("upload_event")]
+ [System.Xml.Serialization.XmlElement("upload_event")]
+ public Types.EventData EventData { get; set; } = default!;
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaSecExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaSecExtensions.cs
index 0f5c30b3..8569a8ec 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaSecExtensions.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Extensions/WechatApiClientExecuteWxaSecExtensions.cs
@@ -320,7 +320,99 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
#endregion
#region Vod
- #region Vod/App
+ #region Vod/Authorize
+ ///
+ /// 异步调用 [POST] /wxa/sec/vod/authorizedrama 接口。
+ ///
+ /// REF:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteWxaSecVodAuthorizeDramaAsync(this WechatApiClient client, Models.WxaSecVodAuthorizeDramaRequest request, CancellationToken cancellationToken = default)
+ {
+ if (client is null) throw new ArgumentNullException(nameof(client));
+ if (request is null) throw new ArgumentNullException(nameof(request));
+
+ IFlurlRequest flurlReq = client
+ .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "sec", "vod", "authorizedrama")
+ .SetQueryParam("access_token", request.AccessToken);
+
+ return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// 异步调用 [POST] /wxa/sec/vod/deauthorizedrama 接口。
+ ///
+ /// REF:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteWxaSecVodDeauthorizeDramaAsync(this WechatApiClient client, Models.WxaSecVodDeauthorizeDramaRequest request, CancellationToken cancellationToken = default)
+ {
+ if (client is null) throw new ArgumentNullException(nameof(client));
+ if (request is null) throw new ArgumentNullException(nameof(request));
+
+ IFlurlRequest flurlReq = client
+ .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "sec", "vod", "deauthorizedrama")
+ .SetQueryParam("access_token", request.AccessToken);
+
+ return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// 异步调用 [POST] /wxa/sec/vod/getauthorizeobjects 接口。
+ ///
+ /// REF:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteWxaSecVodGetAuthorizeObjectsAsync(this WechatApiClient client, Models.WxaSecVodGetAuthorizeObjectsRequest request, CancellationToken cancellationToken = default)
+ {
+ if (client is null) throw new ArgumentNullException(nameof(client));
+ if (request is null) throw new ArgumentNullException(nameof(request));
+
+ IFlurlRequest flurlReq = client
+ .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "sec", "vod", "getauthorizeobjects")
+ .SetQueryParam("access_token", request.AccessToken);
+
+ return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// 异步调用 [POST] /wxa/sec/vod/getauthorizedobjects 接口。
+ ///
+ /// REF:
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static async Task ExecuteWxaSecVodGetAuthorizedObjectsAsync(this WechatApiClient client, Models.WxaSecVodGetAuthorizedObjectsRequest request, CancellationToken cancellationToken = default)
+ {
+ if (client is null) throw new ArgumentNullException(nameof(client));
+ if (request is null) throw new ArgumentNullException(nameof(request));
+
+ IFlurlRequest flurlReq = client
+ .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "sec", "vod", "getauthorizedobjects")
+ .SetQueryParam("access_token", request.AccessToken);
+
+ return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
+ }
+
///
/// 异步调用 [POST] /wxa/sec/vod/authorizeapp 接口。
///
@@ -773,95 +865,49 @@ namespace SKIT.FlurlHttpClient.Wechat.Api
}
///
- /// 异步调用 [POST] /wxa/sec/vod/authorizedrama 接口。
+ /// 异步调用 [POST] /wxa/sec/vod/modifydramabasicinfo 接口。
///
/// REF:
- ///
+ ///
///
///
///
///
///
///
- public static async Task ExecuteWxaSecVodAuthorizeDramaAsync(this WechatApiClient client, Models.WxaSecVodAuthorizeDramaRequest request, CancellationToken cancellationToken = default)
+ public static async Task ExecuteWxaSecVodModifyDramaBasicInfoAsync(this WechatApiClient client, Models.WxaSecVodModifyDramaBasicInfoRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
IFlurlRequest flurlReq = client
- .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "sec", "vod", "authorizedrama")
+ .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "sec", "vod", "modifydramabasicinfo")
.SetQueryParam("access_token", request.AccessToken);
- return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
+ return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
///
- /// 异步调用 [POST] /wxa/sec/vod/deauthorizedrama 接口。
+ /// 异步调用 [POST] /wxa/sec/vod/getdramalatestauditinfo 接口。
///
/// REF:
- ///
+ ///
///
///
///
///
///
///
- public static async Task ExecuteWxaSecVodDeauthorizeDramaAsync(this WechatApiClient client, Models.WxaSecVodDeauthorizeDramaRequest request, CancellationToken cancellationToken = default)
+ public static async Task ExecuteWxaSecVodGetDramaLatestAuditInfoAsync(this WechatApiClient client, Models.WxaSecVodGetDramaLatestAuditInfoRequest request, CancellationToken cancellationToken = default)
{
if (client is null) throw new ArgumentNullException(nameof(client));
if (request is null) throw new ArgumentNullException(nameof(request));
IFlurlRequest flurlReq = client
- .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "sec", "vod", "deauthorizedrama")
+ .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "sec", "vod", "getdramalatestauditinfo")
.SetQueryParam("access_token", request.AccessToken);
- return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
- }
-
- ///
- /// 异步调用 [POST] /wxa/sec/vod/getauthorizeobjects 接口。
- ///
- /// REF:
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- public static async Task ExecuteWxaSecVodGetAuthorizeObjectsAsync(this WechatApiClient client, Models.WxaSecVodGetAuthorizeObjectsRequest request, CancellationToken cancellationToken = default)
- {
- if (client is null) throw new ArgumentNullException(nameof(client));
- if (request is null) throw new ArgumentNullException(nameof(request));
-
- IFlurlRequest flurlReq = client
- .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "sec", "vod", "getauthorizeobjects")
- .SetQueryParam("access_token", request.AccessToken);
-
- return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
- }
-
- ///
- /// 异步调用 [POST] /wxa/sec/vod/getauthorizedobjects 接口。
- ///
- /// REF:
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- public static async Task ExecuteWxaSecVodGetAuthorizedObjectsAsync(this WechatApiClient client, Models.WxaSecVodGetAuthorizedObjectsRequest request, CancellationToken cancellationToken = default)
- {
- if (client is null) throw new ArgumentNullException(nameof(client));
- if (request is null) throw new ArgumentNullException(nameof(request));
-
- IFlurlRequest flurlReq = client
- .CreateFlurlRequest(request, HttpMethod.Post, "wxa", "sec", "vod", "getauthorizedobjects")
- .SetQueryParam("access_token", request.AccessToken);
-
- return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
+ return await client.SendFlurlRequestAsJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken).ConfigureAwait(false);
}
#endregion
#endregion
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodAuthorizeAppRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodAuthorizeAppRequest.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodAuthorizeAppRequest.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodAuthorizeAppRequest.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodAuthorizeAppResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodAuthorizeAppResponse.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodAuthorizeAppResponse.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodAuthorizeAppResponse.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodDeauthorizeAppRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodDeauthorizeAppRequest.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodDeauthorizeAppRequest.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodDeauthorizeAppRequest.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodDeauthorizeAppResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodDeauthorizeAppResponse.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodDeauthorizeAppResponse.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodDeauthorizeAppResponse.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodGetAuthorizeAppsRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodGetAuthorizeAppsRequest.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodGetAuthorizeAppsRequest.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodGetAuthorizeAppsRequest.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodGetAuthorizeAppsResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodGetAuthorizeAppsResponse.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodGetAuthorizeAppsResponse.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodGetAuthorizeAppsResponse.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodGetAuthorizedAppsRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodGetAuthorizedAppsRequest.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodGetAuthorizedAppsRequest.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodGetAuthorizedAppsRequest.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodGetAuthorizedAppsResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodGetAuthorizedAppsResponse.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/App/WxaSecVodGetAuthorizedAppsResponse.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/App/WxaSecVodGetAuthorizedAppsResponse.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodAuthorizeDramaRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Drama/WxaSecVodAuthorizeDramaRequest.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodAuthorizeDramaRequest.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Drama/WxaSecVodAuthorizeDramaRequest.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodAuthorizeDramaResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Drama/WxaSecVodAuthorizeDramaResponse.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodAuthorizeDramaResponse.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Drama/WxaSecVodAuthorizeDramaResponse.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodDeauthorizeDramaRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Drama/WxaSecVodDeauthorizeDramaRequest.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodDeauthorizeDramaRequest.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Drama/WxaSecVodDeauthorizeDramaRequest.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodDeauthorizeDramaResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Drama/WxaSecVodDeauthorizeDramaResponse.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodDeauthorizeDramaResponse.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Drama/WxaSecVodDeauthorizeDramaResponse.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetAuthorizeObjectsRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizeObjectsRequest.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetAuthorizeObjectsRequest.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizeObjectsRequest.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetAuthorizeObjectsResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizeObjectsResponse.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetAuthorizeObjectsResponse.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizeObjectsResponse.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetAuthorizedObjectsRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizedObjectsRequest.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetAuthorizedObjectsRequest.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizedObjectsRequest.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetAuthorizedObjectsResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizedObjectsResponse.cs
similarity index 100%
rename from src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetAuthorizedObjectsResponse.cs
rename to src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizedObjectsResponse.cs
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodAuditDramaRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodAuditDramaRequest.cs
index f7234a1d..6b3d026e 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodAuditDramaRequest.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodAuditDramaRequest.cs
@@ -25,6 +25,47 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("new")]
public long NewMediaId { get; set; }
}
+
+ public class ActorList
+ {
+ ///
+ /// 获取或设置演员列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("actor")]
+ [System.Text.Json.Serialization.JsonPropertyName("actor")]
+ public IList Items { get; set; } = new List();
+ }
+
+ public class ActorItem
+ {
+ ///
+ /// 获取或设置演员姓名。
+ ///
+ [Newtonsoft.Json.JsonProperty("name")]
+ [System.Text.Json.Serialization.JsonPropertyName("name")]
+ public string Name { get; set; } = string.Empty;
+
+ ///
+ /// 获取或设置演员照片 MediaId。
+ ///
+ [Newtonsoft.Json.JsonProperty("photo_material_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("photo_material_id")]
+ public string PhotoMediaId { get; set; } = string.Empty;
+
+ ///
+ /// 获取或设置饰演角色。
+ ///
+ [Newtonsoft.Json.JsonProperty("role")]
+ [System.Text.Json.Serialization.JsonPropertyName("role")]
+ public string Role { get; set; } = string.Empty;
+
+ ///
+ /// 获取或设置演员简介。
+ ///
+ [Newtonsoft.Json.JsonProperty("profile")]
+ [System.Text.Json.Serialization.JsonPropertyName("profile")]
+ public string Profile { get; set; } = string.Empty;
+ }
}
///
@@ -62,6 +103,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("media_id_list")]
public IList? MediaIdList { get; set; }
+ ///
+ /// 获取或设置剧目推荐语。
+ ///
+ [Newtonsoft.Json.JsonProperty("recommendations")]
+ [System.Text.Json.Serialization.JsonPropertyName("recommendations")]
+ public string? Recommendations { get; set; }
+
///
/// 获取或设置制作方。
///
@@ -76,6 +124,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("playwright")]
public string? Playwright { get; set; }
+ ///
+ /// 获取或设置演员列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("actor_list")]
+ [System.Text.Json.Serialization.JsonPropertyName("actor_list")]
+ public Types.ActorList? ActorList { get; set; }
+
///
/// 获取或设置封面图片 MediaId。
///
@@ -84,11 +139,11 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
public string? CoverMaterialMediaId { get; set; }
///
- /// 获取或设置广播电视节目制作经营许可证 MediaId。
+ /// 获取或设置推广海报 MediaId。
///
- [Newtonsoft.Json.JsonProperty("production_license_material_id")]
- [System.Text.Json.Serialization.JsonPropertyName("production_license_material_id")]
- public string? ProductionLicenseMaterialMediaId { get; set; }
+ [Newtonsoft.Json.JsonProperty("promotion_poster_material_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("promotion_poster_material_id")]
+ public string? PromotionPosterMaterialMediaId { get; set; }
///
/// 获取或设置剧目播放授权材料 MediaId。
@@ -96,6 +151,34 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[Newtonsoft.Json.JsonProperty("authorized_material_id")]
[System.Text.Json.Serialization.JsonPropertyName("authorized_material_id")]
public string? AuthorizationMaterialMediaId { get; set; }
+
+ ///
+ /// 获取或设置剧目资质类型。
+ ///
+ [Newtonsoft.Json.JsonProperty("qualification_type")]
+ [System.Text.Json.Serialization.JsonPropertyName("qualification_type")]
+ public int? QualificationType { get; set; }
+
+ ///
+ /// 获取或设置剧目资质证明文件 MediaId。
+ ///
+ [Newtonsoft.Json.JsonProperty("qualification_certificate_material_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("qualification_certificate_material_id")]
+ public string? QualificationCertificateMaterialMediaId { get; set; }
+
+ ///
+ /// 获取或设置成本配置比例情况报告 MediaId。
+ ///
+ [Newtonsoft.Json.JsonProperty("cost_commitment_letter_material_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("cost_commitment_letter_material_id")]
+ public string? CostCommitmentLetterMaterialMediaId { get; set; }
+
+ ///
+ /// 获取或设置剧目制作成本(单位:万元)。
+ ///
+ [Newtonsoft.Json.JsonProperty("cost_of_production")]
+ [System.Text.Json.Serialization.JsonPropertyName("cost_of_production")]
+ public int? CostOfProduction { get; set; }
///
/// 获取或设置剧目备案号。
@@ -103,21 +186,28 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[Newtonsoft.Json.JsonProperty("registration_number")]
[System.Text.Json.Serialization.JsonPropertyName("registration_number")]
public string? RegistrationNumber { get; set; }
-
+
+ ///
+ /// 获取或设置广播电视节目制作经营许可证编号。
+ ///
+ [Newtonsoft.Json.JsonProperty("production_license")]
+ [System.Text.Json.Serialization.JsonPropertyName("production_license")]
+ public string? ProductionLicenseNumber { get; set; }
+
///
/// 获取或设置网络剧片发行许可证编号。
///
[Newtonsoft.Json.JsonProperty("publish_license")]
[System.Text.Json.Serialization.JsonPropertyName("publish_license")]
public string? PublishLicenseNumber { get; set; }
-
+
///
- /// 获取或设置网络剧片发行许可证图片 MediaId。
+ /// 获取或设置其他材料 MediaId。
///
- [Newtonsoft.Json.JsonProperty("publish_license_material_id")]
- [System.Text.Json.Serialization.JsonPropertyName("publish_license_material_id")]
- public string? PublishLicenseMaterialMediaId { get; set; }
-
+ [Newtonsoft.Json.JsonProperty("other_material_material_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("other_material_material_id")]
+ public string? OtherMaterialMediaId { get; set; }
+
///
/// 获取或设置是否加急审核。
///
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetDramaLatestAuditInfoRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetDramaLatestAuditInfoRequest.cs
new file mode 100644
index 00000000..e0c57220
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetDramaLatestAuditInfoRequest.cs
@@ -0,0 +1,22 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /wxa/sec/vod/getdramalatestauditinfo 接口的请求。
+ ///
+ public class WxaSecVodGetDramaLatestAuditInfoRequest : WechatApiRequest, IInferable
+ {
+ ///
+ /// 获取或设置剧目 ID。
+ ///
+ [Newtonsoft.Json.JsonProperty("drama_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("drama_id")]
+ public long DramaId { get; set; }
+
+ ///
+ /// 获取或设置审核类型。
+ ///
+ [Newtonsoft.Json.JsonProperty("audit_type")]
+ [System.Text.Json.Serialization.JsonPropertyName("audit_type")]
+ public int AuditType { get; set; }
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetDramaLatestAuditInfoResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetDramaLatestAuditInfoResponse.cs
new file mode 100644
index 00000000..32e0ff94
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetDramaLatestAuditInfoResponse.cs
@@ -0,0 +1,42 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /wxa/sec/vod/getdramalatestauditinfo 接口的响应。
+ ///
+ public class WxaSecVodGetDramaLatestAuditInfoResponse : WechatApiResponse
+ {
+ public static class Types
+ {
+ public class AuditDetail
+ {
+ ///
+ /// 获取或设置审核状态。
+ ///
+ [Newtonsoft.Json.JsonProperty("status")]
+ [System.Text.Json.Serialization.JsonPropertyName("status")]
+ public int Status { get; set; }
+
+ ///
+ /// 获取或设置提审时间戳。
+ ///
+ [Newtonsoft.Json.JsonProperty("create_time")]
+ [System.Text.Json.Serialization.JsonPropertyName("create_time")]
+ public long CreateTimestamp { get; set; }
+
+ ///
+ /// 获取或设置审核时间戳。
+ ///
+ [Newtonsoft.Json.JsonProperty("audit_time")]
+ [System.Text.Json.Serialization.JsonPropertyName("audit_time")]
+ public long? AuditTimestamp { get; set; }
+ }
+ }
+
+ ///
+ /// 获取或设置审核信息。
+ ///
+ [Newtonsoft.Json.JsonProperty("audit_detail")]
+ [System.Text.Json.Serialization.JsonPropertyName("audit_detail")]
+ public Types.AuditDetail AuditDetail { get; set; } = default!;
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetDramaResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetDramaResponse.cs
index dea6b323..fad2a5a7 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetDramaResponse.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodGetDramaResponse.cs
@@ -18,6 +18,20 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
public class AuditDetail : WxaSecVodListDramasResponse.Types.DramaInfo.Types.AuditDetail
{
}
+
+ public class ActorList : WxaSecVodListDramasResponse.Types.DramaInfo.Types.ActorList
+ {
+ ///
+ /// 获取或设置演员列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("actor")]
+ [System.Text.Json.Serialization.JsonPropertyName("actor")]
+ public new ActorItem[] Items { get; set; } = default!;
+ }
+
+ public class ActorItem : WxaSecVodListDramasResponse.Types.DramaInfo.Types.ActorItem
+ {
+ }
}
///
@@ -27,6 +41,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("media_list")]
public new Types.Media[] MediaList { get; set; } = default!;
+ ///
+ /// 获取或设置演员列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("actor_list")]
+ [System.Text.Json.Serialization.JsonPropertyName("actor_list")]
+ public new Types.ActorList? ActorList { get; set; }
+
///
/// 获取或设置审核详细信息。
///
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodListDramasResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodListDramasResponse.cs
index 788a29bc..5725526d 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodListDramasResponse.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodListDramasResponse.cs
@@ -45,6 +45,47 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("audit_time")]
public long? AuditTimestamp { get; set; }
}
+
+ public class ActorList
+ {
+ ///
+ /// 获取或设置演员列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("actor")]
+ [System.Text.Json.Serialization.JsonPropertyName("actor")]
+ public ActorItem[] Items { get; set; } = default!;
+ }
+
+ public class ActorItem
+ {
+ ///
+ /// 获取或设置演员姓名。
+ ///
+ [Newtonsoft.Json.JsonProperty("name")]
+ [System.Text.Json.Serialization.JsonPropertyName("name")]
+ public string Name { get; set; } = default!;
+
+ ///
+ /// 获取或设置演员照片 MediaId。
+ ///
+ [Newtonsoft.Json.JsonProperty("photo_material_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("photo_material_id")]
+ public string PhotoMediaId { get; set; } = default!;
+
+ ///
+ /// 获取或设置饰演角色。
+ ///
+ [Newtonsoft.Json.JsonProperty("role")]
+ [System.Text.Json.Serialization.JsonPropertyName("role")]
+ public string Role { get; set; } = default!;
+
+ ///
+ /// 获取或设置演员简介。
+ ///
+ [Newtonsoft.Json.JsonProperty("profile")]
+ [System.Text.Json.Serialization.JsonPropertyName("profile")]
+ public string Profile { get; set; } = default!;
+ }
}
///
@@ -83,6 +124,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("media_list")]
public Types.Media[] MediaList { get; set; } = default!;
+ ///
+ /// 获取或设置剧目状态。
+ ///
+ [Newtonsoft.Json.JsonProperty("status")]
+ [System.Text.Json.Serialization.JsonPropertyName("status")]
+ public int Status { get; set; }
+
///
/// 获取或设置创建时间戳。
///
@@ -97,6 +145,20 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("cover_url")]
public string? CoverUrl { get; set; }
+ ///
+ /// 获取或设置推广海报临时链接。
+ ///
+ [Newtonsoft.Json.JsonProperty("promotion_poster")]
+ [System.Text.Json.Serialization.JsonPropertyName("promotion_poster")]
+ public string? PromotionPosterUrl { get; set; }
+
+ ///
+ /// 获取或设置剧目推荐语。
+ ///
+ [Newtonsoft.Json.JsonProperty("recommendations")]
+ [System.Text.Json.Serialization.JsonPropertyName("recommendations")]
+ public string? Recommendations { get; set; }
+
///
/// 获取或设置制作方。
///
@@ -112,11 +174,18 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
public string? Playwright { get; set; }
///
- /// 获取或设置广播电视节目制作经营许可证 MediaId。
+ /// 获取或设置演员列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("actor_list")]
+ [System.Text.Json.Serialization.JsonPropertyName("actor_list")]
+ public Types.ActorList? ActorList { get; set; }
+
+ ///
+ /// 获取或设置广播电视节目制作经营许可证编号。
///
[Newtonsoft.Json.JsonProperty("production_license")]
[System.Text.Json.Serialization.JsonPropertyName("production_license")]
- public string? ProductionLicenseMaterialMediaId { get; set; }
+ public string? ProductionLicenseNumber { get; set; }
///
/// 获取或设置审核详细信息。
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodModifyDramaBasicInfoRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodModifyDramaBasicInfoRequest.cs
new file mode 100644
index 00000000..3a797700
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodModifyDramaBasicInfoRequest.cs
@@ -0,0 +1,139 @@
+using System.Collections.Generic;
+
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /wxa/sec/vod/modifydramabasicinfo 接口的请求。
+ ///
+ public class WxaSecVodModifyDramaBasicInfoRequest : WechatApiRequest, IInferable
+ {
+ public static class Types
+ {
+ public class ActorList
+ {
+ ///
+ /// 获取或设置演员列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("actor")]
+ [System.Text.Json.Serialization.JsonPropertyName("actor")]
+ public IList Items { get; set; } = new List();
+ }
+
+ public class ActorItem : WxaSecVodAuditDramaRequest.Types.ActorItem
+ {
+ }
+ }
+
+ ///
+ /// 获取或设置剧目 ID。
+ ///
+ [Newtonsoft.Json.JsonProperty("drama_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("drama_id")]
+ public long DramaId { get; set; }
+
+ ///
+ /// 获取或设置备用剧名。
+ ///
+ [Newtonsoft.Json.JsonProperty("alternate_name")]
+ [System.Text.Json.Serialization.JsonPropertyName("alternate_name")]
+ public string? AlternateName { get; set; }
+
+ ///
+ /// 获取或设置描述。
+ ///
+ [Newtonsoft.Json.JsonProperty("description")]
+ [System.Text.Json.Serialization.JsonPropertyName("description")]
+ public string? Description { get; set; }
+
+ ///
+ /// 获取或设置剧目推荐语。
+ ///
+ [Newtonsoft.Json.JsonProperty("recommendations")]
+ [System.Text.Json.Serialization.JsonPropertyName("recommendations")]
+ public string? Recommendations { get; set; }
+
+ ///
+ /// 获取或设置演员列表。
+ ///
+ [Newtonsoft.Json.JsonProperty("actor_list")]
+ [System.Text.Json.Serialization.JsonPropertyName("actor_list")]
+ public Types.ActorList? ActorList { get; set; }
+
+ ///
+ /// 获取或设置封面图片 MediaId。
+ ///
+ [Newtonsoft.Json.JsonProperty("cover_material_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("cover_material_id")]
+ public string? CoverMaterialMediaId { get; set; }
+
+ ///
+ /// 获取或设置推广海报 MediaId。
+ ///
+ [Newtonsoft.Json.JsonProperty("promotion_poster_material_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("promotion_poster_material_id")]
+ public string? PromotionPosterMaterialMediaId { get; set; }
+
+ ///
+ /// 获取或设置剧目播放授权材料 MediaId。
+ ///
+ [Newtonsoft.Json.JsonProperty("authorized_material_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("authorized_material_id")]
+ public string? AuthorizationMaterialMediaId { get; set; }
+
+ ///
+ /// 获取或设置剧目资质类型。
+ ///
+ [Newtonsoft.Json.JsonProperty("qualification_type")]
+ [System.Text.Json.Serialization.JsonPropertyName("qualification_type")]
+ public int? QualificationType { get; set; }
+
+ ///
+ /// 获取或设置剧目资质证明文件 MediaId。
+ ///
+ [Newtonsoft.Json.JsonProperty("qualification_certificate_material_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("qualification_certificate_material_id")]
+ public string? QualificationCertificateMaterialMediaId { get; set; }
+
+ ///
+ /// 获取或设置成本配置比例情况报告 MediaId。
+ ///
+ [Newtonsoft.Json.JsonProperty("cost_commitment_letter_material_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("cost_commitment_letter_material_id")]
+ public string? CostCommitmentLetterMaterialMediaId { get; set; }
+
+ ///
+ /// 获取或设置剧目制作成本(单位:万元)。
+ ///
+ [Newtonsoft.Json.JsonProperty("cost_of_production")]
+ [System.Text.Json.Serialization.JsonPropertyName("cost_of_production")]
+ public int? CostOfProduction { get; set; }
+
+ ///
+ /// 获取或设置剧目备案号。
+ ///
+ [Newtonsoft.Json.JsonProperty("registration_number")]
+ [System.Text.Json.Serialization.JsonPropertyName("registration_number")]
+ public string? RegistrationNumber { get; set; }
+
+ ///
+ /// 获取或设置广播电视节目制作经营许可证编号。
+ ///
+ [Newtonsoft.Json.JsonProperty("production_license")]
+ [System.Text.Json.Serialization.JsonPropertyName("production_license")]
+ public string? ProductionLicenseNumber { get; set; }
+
+ ///
+ /// 获取或设置网络剧片发行许可证编号。
+ ///
+ [Newtonsoft.Json.JsonProperty("publish_license")]
+ [System.Text.Json.Serialization.JsonPropertyName("publish_license")]
+ public string? PublishLicenseNumber { get; set; }
+
+ ///
+ /// 获取或设置其他材料 MediaId。
+ ///
+ [Newtonsoft.Json.JsonProperty("other_material_material_id")]
+ [System.Text.Json.Serialization.JsonPropertyName("other_material_material_id")]
+ public string? OtherMaterialMediaId { get; set; }
+ }
+}
diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodModifyDramaBasicInfoResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodModifyDramaBasicInfoResponse.cs
new file mode 100644
index 00000000..e8be4328
--- /dev/null
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaSec/Vod/Drama/WxaSecVodModifyDramaBasicInfoResponse.cs
@@ -0,0 +1,9 @@
+namespace SKIT.FlurlHttpClient.Wechat.Api.Models
+{
+ ///
+ /// 表示 [POST] /wxa/sec/vod/modifydramabasicinfo 接口的响应。
+ ///
+ public class WxaSecVodModifyDramaBasicInfoResponse : WechatApiResponse
+ {
+ }
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/WxaSecVod/SecVodAuditEvent.xml b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/WxaSecVod/SecVodAuditEvent.xml
new file mode 100644
index 00000000..2b21de35
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/WxaSecVod/SecVodAuditEvent.xml
@@ -0,0 +1,16 @@
+
+ gh_abcdefg
+ oABCD
+ 12344555555
+ event
+ secvod_audit_event
+
+ 20001
+
+ 3
+ 0
+ 168625255
+ 168626255
+
+
+
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/WxaSecVod/SecVodUploadEvent.xml b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/WxaSecVod/SecVodUploadEvent.xml
new file mode 100644
index 00000000..e7d1f9df
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/EventSamples/WxaSecVod/SecVodUploadEvent.xml
@@ -0,0 +1,13 @@
+
+ gh_abcdefg
+ oABCD
+ 12344555555
+ event
+ secvod_upload_event
+
+ 20001
+ abc12232
+ 0
+ OK
+
+
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/App/WxaSecVodAuthorizeAppRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/App/WxaSecVodAuthorizeAppRequest.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/App/WxaSecVodAuthorizeAppRequest.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/App/WxaSecVodAuthorizeAppRequest.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/App/WxaSecVodDeauthorizeAppRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/App/WxaSecVodDeauthorizeAppRequest.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/App/WxaSecVodDeauthorizeAppRequest.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/App/WxaSecVodDeauthorizeAppRequest.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/App/WxaSecVodGetAuthorizeAppsResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/App/WxaSecVodGetAuthorizeAppsResponse.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/App/WxaSecVodGetAuthorizeAppsResponse.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/App/WxaSecVodGetAuthorizeAppsResponse.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/App/WxaSecVodGetAuthorizedAppsResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/App/WxaSecVodGetAuthorizedAppsResponse.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/App/WxaSecVodGetAuthorizedAppsResponse.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/App/WxaSecVodGetAuthorizedAppsResponse.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodAuthorizeDramaRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Drama/WxaSecVodAuthorizeDramaRequest.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodAuthorizeDramaRequest.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Drama/WxaSecVodAuthorizeDramaRequest.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodAuthorizeDramaResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Drama/WxaSecVodAuthorizeDramaResponse.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodAuthorizeDramaResponse.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Drama/WxaSecVodAuthorizeDramaResponse.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodDeauthorizeDramaRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Drama/WxaSecVodDeauthorizeDramaRequest.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodDeauthorizeDramaRequest.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Drama/WxaSecVodDeauthorizeDramaRequest.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodDeauthorizeDramaResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Drama/WxaSecVodDeauthorizeDramaResponse.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodDeauthorizeDramaResponse.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Drama/WxaSecVodDeauthorizeDramaResponse.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetAuthorizeObjectsRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizeObjectsRequest.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetAuthorizeObjectsRequest.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizeObjectsRequest.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetAuthorizeObjectsResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizeObjectsResponse.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetAuthorizeObjectsResponse.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizeObjectsResponse.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetAuthorizedObjectsRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizedObjectsRequest.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetAuthorizedObjectsRequest.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizedObjectsRequest.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetAuthorizedObjectsResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizedObjectsResponse.json
similarity index 100%
rename from test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetAuthorizedObjectsResponse.json
rename to test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Authorize/Object/WxaSecVodGetAuthorizedObjectsResponse.json
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodAuditDramaRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodAuditDramaRequest.json
index 591a4280..96b09612 100644
--- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodAuditDramaRequest.json
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodAuditDramaRequest.json
@@ -3,12 +3,29 @@
"media_count": 2,
"media_id_list": [ 20001, 20002 ],
"producer": "制作方名",
- "playwright": "编剧名",
"description": "很有意思的一部剧",
- "cover_material_id": "1223",
- "production_license_material_id": "12233",
+ "cover_material_id": "xxxxxxxxxx",
"registration_number": "012345678901234",
"authorized_material_id": "122344",
+ "other_material_material_id": "122355",
+ "recommendations": "这是这部剧的推荐语。",
+ "actor_list": {
+ "actor": [
+ {
+ "name": "演员1",
+ "photo_material_id": "xxxxxxxx",
+ "role": "角色1",
+ "profile": "简介"
+ },
+ {
+ "name": "演员2",
+ "photo_material_id": "xxxxxxxx",
+ "role": "角色2",
+ "profile": "简介"
+ }
+ ]
+ },
+ "drama_id": 10001,
"replace_media_list": [
{
"old": 20001,
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetDramaLatestAuditInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetDramaLatestAuditInfoRequest.json
new file mode 100644
index 00000000..9d927eed
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetDramaLatestAuditInfoRequest.json
@@ -0,0 +1,4 @@
+{
+ "drama_id": 10001,
+ "audit_type": 0
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetDramaLatestAuditInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetDramaLatestAuditInfoResponse.json
new file mode 100644
index 00000000..ed6baea1
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetDramaLatestAuditInfoResponse.json
@@ -0,0 +1,9 @@
+{
+ "errcode": 0,
+ "errmsg": "ok",
+ "audit_detail": {
+ "status": 3,
+ "create_time": 1682215878,
+ "audit_time": 1682235878
+ }
+}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetDramaResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetDramaResponse.json
index 41dce0e3..89ccf71f 100644
--- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetDramaResponse.json
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodGetDramaResponse.json
@@ -10,6 +10,10 @@
"production_license": "abd123",
"cover_url": "https://developers.weixin.qq.com/test.jpg",
"media_count": 2,
+ "recommendations": "这是这部剧的推荐语。",
+ "description": "剧目的简介。",
+ "promotion_poster": "xxxxxxxxx",
+ "status": 0,
"media_list": [
{ "media_id": 10001 },
{ "media_id": 10002 }
@@ -18,6 +22,22 @@
"status": 3,
"create_time": 1682215878,
"audit_time": 1682235878
+ },
+ "actor_list": {
+ "actor": [
+ {
+ "name": "演员1",
+ "photo_material_id": "xxxxxxxx",
+ "role": "角色1",
+ "profile": "简介"
+ },
+ {
+ "name": "演员2",
+ "photo_material_id": "xxxxxxxx",
+ "role": "角色2",
+ "profile": "简介"
+ }
+ ]
}
}
}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodListDramasResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodListDramasResponse.json
index 9449069a..e34e4c95 100644
--- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodListDramasResponse.json
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodListDramasResponse.json
@@ -5,7 +5,7 @@
{
"drama_id": 28918028,
"create_time": 1682214878,
- "name": "我的中国梦",
+ "name": "我的演艺",
"playwright": "编剧名",
"producer": "制作方名",
"production_license": "abd123",
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodModifyDramaBasicInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodModifyDramaBasicInfoRequest.json
new file mode 100644
index 00000000..3ddfbe8e
--- /dev/null
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaSec/Vod/Drama/WxaSecVodModifyDramaBasicInfoRequest.json
@@ -0,0 +1,28 @@
+{
+ "drama_id": 10001,
+ "description": "新剧目简介",
+ "cover_material_id": "新剧目海报临时material_id",
+ "recommendations": "新剧目推荐语",
+ "promotion_poster_material_id": "新推广海报临时material_id",
+ "alternate_name": "备用剧名",
+ "actor_list": {
+ "actor": [
+ {
+ "name": "演员1",
+ "photo_material_id": "xxxxxxxx",
+ "role": "角色1",
+ "profile": "简介"
+ },
+ {
+ "name": "演员2",
+ "photo_material_id": "xxxxxxxx",
+ "role": "角色2",
+ "profile": "简介"
+ }
+ ]
+ },
+ "qualification_type": 1,
+ "qualification_certificate_material_id": "xxxxxxxx",
+ "registration_number": "V123456788888888",
+ "other_material_material_id": "新其他材料临时material_id"
+}