Explorar el Código

小程序第一次授权后设置域名

xujunwei hace 3 años
padre
commit
13ad981bf1

+ 5 - 4
framework-common/src/main/java/com/mrxu/framework/common/weixin/api/ComponentDeployApi.java

@@ -1,5 +1,6 @@
 package com.mrxu.framework.common.weixin.api;
 
+import com.alibaba.fastjson.JSONArray;
 import com.alibaba.fastjson.JSONObject;
 import com.mrxu.framework.common.util.StrFunc;
 import com.mrxu.framework.common.weixin.base.WxHttp;
@@ -49,10 +50,10 @@ public class ComponentDeployApi {
      *         ugc_declare	Object	否	用户生成内容场景(UGC)信息安全声明
      */
     // https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/submit_audit.html
-    public static SubmitAudit submitAudit(String accessToken,String itemList,
-                                       String previewInfo,String versionDesc,
-                                       String feedbackInfo,String feedbackStuff,
-                                       String ugcDeclare) {
+    public static SubmitAudit submitAudit(String accessToken, JSONArray itemList,
+                                          String previewInfo, String versionDesc,
+                                          String feedbackInfo, String feedbackStuff,
+                                          String ugcDeclare) {
         JSONObject json = new JSONObject();
         json.put("item_list", itemList);
         json.put("preview_info", previewInfo);