xujunwei 1 год назад
Родитель
Сommit
2f5446e02d

+ 3 - 1
framework-common/src/main/java/com/mrxu/framework/common/weixin/api/ComponentDeployApi.java

@@ -55,12 +55,13 @@ public class ComponentDeployApi {
      *         feedback_info	String	否	反馈内容,至多 200 字
      *         feedback_info	String	否	反馈内容,至多 200 字
      *         feedback_stuff	String	否	用 | 分割的 media_id 列表,至多 5 张图片, 可以通过新增临时素材接口上传而得到
      *         feedback_stuff	String	否	用 | 分割的 media_id 列表,至多 5 张图片, 可以通过新增临时素材接口上传而得到
      *         ugc_declare	Object	否	用户生成内容场景(UGC)信息安全声明
      *         ugc_declare	Object	否	用户生成内容场景(UGC)信息安全声明
+     *         privacyApiNotUse 用于声明是否不使用“代码中检测出但是未配置的隐私相关接口
      */
      */
     // https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/submit_audit.html
     // https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/submit_audit.html
     public static SubmitAudit submitAudit(String accessToken, JSONArray itemList,
     public static SubmitAudit submitAudit(String accessToken, JSONArray itemList,
                                           String previewInfo, String versionDesc,
                                           String previewInfo, String versionDesc,
                                           String feedbackInfo, String feedbackStuff,
                                           String feedbackInfo, String feedbackStuff,
-                                          String ugcDeclare) {
+                                          String ugcDeclare,boolean privacyApiNotUse) {
         JSONObject json = new JSONObject();
         JSONObject json = new JSONObject();
         json.put("item_list", itemList);
         json.put("item_list", itemList);
         json.put("preview_info", previewInfo);
         json.put("preview_info", previewInfo);
@@ -68,6 +69,7 @@ public class ComponentDeployApi {
         json.put("feedback_info", feedbackInfo);
         json.put("feedback_info", feedbackInfo);
         json.put("feedback_stuff", feedbackStuff);
         json.put("feedback_stuff", feedbackStuff);
         json.put("ugc_declare", ugcDeclare);
         json.put("ugc_declare", ugcDeclare);
+        json.put("privacy_api_not_use", privacyApiNotUse);
         SubmitAudit rs = WxHttp.post(SubmitAudit.class,submit_audit+accessToken,json);
         SubmitAudit rs = WxHttp.post(SubmitAudit.class,submit_audit+accessToken,json);
         return rs;
         return rs;
     }
     }