diff --git a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Code/WxaSubmitAuditRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Code/WxaSubmitAuditRequest.cs
index 801a9d46..ff67f48b 100644
--- a/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Code/WxaSubmitAuditRequest.cs
+++ b/src/SKIT.FlurlHttpClient.Wechat.Api/Models/WxaComponent/Code/WxaSubmitAuditRequest.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
@@ -16,7 +16,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
///
[Newtonsoft.Json.JsonProperty("address")]
[System.Text.Json.Serialization.JsonPropertyName("address")]
- public string PagePath { get; set; } = string.Empty;
+ public string? PagePath { get; set; }
///
/// 获取或设置页面标题。
@@ -99,7 +99,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
///
[Newtonsoft.Json.JsonProperty("scene")]
[System.Text.Json.Serialization.JsonPropertyName("scene")]
- public IList? SceneLsit { get; set; }
+ public IList? SceneList { get; set; }
///
/// 获取或设置其他场景说明。
@@ -130,7 +130,6 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[Newtonsoft.Json.JsonProperty("audit_desc")]
[System.Text.Json.Serialization.JsonPropertyName("audit_desc")]
public string? AuditDescription { get; set; }
-
}
}
@@ -177,5 +176,12 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[Newtonsoft.Json.JsonProperty("ugc_declare")]
[System.Text.Json.Serialization.JsonPropertyName("ugc_declare")]
public Types.UGCDeclaration? UGCDeclaration { get; set; }
+
+ ///
+ /// 获取或设置是否声明不使用代码中检测出但是未配置的隐私相关接口。
+ ///
+ [Newtonsoft.Json.JsonProperty("privacy_api_not_use")]
+ [System.Text.Json.Serialization.JsonPropertyName("privacy_api_not_use")]
+ public bool IsPrivacyApiNotUsed { get; set; }
}
}
diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Code/WxaSubmitAuditRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Code/WxaSubmitAuditRequest.json
index 1e36729b..11e07221 100644
--- a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Code/WxaSubmitAuditRequest.json
+++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/WxaComponent/Code/WxaSubmitAuditRequest.json
@@ -1,4 +1,4 @@
-{
+{
"item_list": [
{
"address": "index",
@@ -24,14 +24,15 @@
"feedback_info": "blablabla",
"feedback_stuff": "xx|yy|zz",
"preview_info": {
- "video_id_list": ["xxxx"],
- "pic_id_list": ["xxxx", "yyyy", "zzzz"]
+ "video_id_list": [ "xxxx" ],
+ "pic_id_list": [ "xxxx", "yyyy", "zzzz" ]
},
"version_desc": "blablabla",
"ugc_declare": {
- "scene": [1, 2],
- "method": [1],
+ "scene": [ 1, 2 ],
+ "method": [ 1 ],
"has_audit_team": 1,
"audit_desc": "blablabla"
- }
+ },
+ "privacy_api_not_use": true
}