feat(wxapi): 随官方更新第三方平台提交代码审核接口模型

This commit is contained in:
fudiwei
2022-12-01 20:19:16 +08:00
parent 6cec58d33f
commit 908c5faff9
2 changed files with 17 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{ {
@@ -16,7 +16,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary> /// </summary>
[Newtonsoft.Json.JsonProperty("address")] [Newtonsoft.Json.JsonProperty("address")]
[System.Text.Json.Serialization.JsonPropertyName("address")] [System.Text.Json.Serialization.JsonPropertyName("address")]
public string PagePath { get; set; } = string.Empty; public string? PagePath { get; set; }
/// <summary> /// <summary>
/// 获取或设置页面标题。 /// 获取或设置页面标题。
@@ -99,7 +99,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary> /// </summary>
[Newtonsoft.Json.JsonProperty("scene")] [Newtonsoft.Json.JsonProperty("scene")]
[System.Text.Json.Serialization.JsonPropertyName("scene")] [System.Text.Json.Serialization.JsonPropertyName("scene")]
public IList<int>? SceneLsit { get; set; } public IList<int>? SceneList { get; set; }
/// <summary> /// <summary>
/// 获取或设置其他场景说明。 /// 获取或设置其他场景说明。
@@ -130,7 +130,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[Newtonsoft.Json.JsonProperty("audit_desc")] [Newtonsoft.Json.JsonProperty("audit_desc")]
[System.Text.Json.Serialization.JsonPropertyName("audit_desc")] [System.Text.Json.Serialization.JsonPropertyName("audit_desc")]
public string? AuditDescription { get; set; } public string? AuditDescription { get; set; }
} }
} }
@@ -177,5 +176,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[Newtonsoft.Json.JsonProperty("ugc_declare")] [Newtonsoft.Json.JsonProperty("ugc_declare")]
[System.Text.Json.Serialization.JsonPropertyName("ugc_declare")] [System.Text.Json.Serialization.JsonPropertyName("ugc_declare")]
public Types.UGCDeclaration? UGCDeclaration { get; set; } public Types.UGCDeclaration? UGCDeclaration { get; set; }
/// <summary>
/// 获取或设置是否声明不使用代码中检测出但是未配置的隐私相关接口。
/// </summary>
[Newtonsoft.Json.JsonProperty("privacy_api_not_use")]
[System.Text.Json.Serialization.JsonPropertyName("privacy_api_not_use")]
public bool IsPrivacyApiNotUsed { get; set; }
} }
} }

View File

@@ -1,4 +1,4 @@
{ {
"item_list": [ "item_list": [
{ {
"address": "index", "address": "index",
@@ -24,14 +24,15 @@
"feedback_info": "blablabla", "feedback_info": "blablabla",
"feedback_stuff": "xx|yy|zz", "feedback_stuff": "xx|yy|zz",
"preview_info": { "preview_info": {
"video_id_list": ["xxxx"], "video_id_list": [ "xxxx" ],
"pic_id_list": ["xxxx", "yyyy", "zzzz"] "pic_id_list": [ "xxxx", "yyyy", "zzzz" ]
}, },
"version_desc": "blablabla", "version_desc": "blablabla",
"ugc_declare": { "ugc_declare": {
"scene": [1, 2], "scene": [ 1, 2 ],
"method": [1], "method": [ 1 ],
"has_audit_team": 1, "has_audit_team": 1,
"audit_desc": "blablabla" "audit_desc": "blablabla"
} },
"privacy_api_not_use": true
} }