|
|
@@ -20,6 +20,8 @@ public class ComponentDeployApi {
|
|
|
|
|
|
private static String submit_audit = "https://api.weixin.qq.com/wxa/submit_audit?access_token=";
|
|
|
|
|
|
+ private static String undoAudit = "https://api.weixin.qq.com/wxa/undocodeaudit?access_token=";
|
|
|
+
|
|
|
private static String release = "https://api.weixin.qq.com/wxa/release?access_token=";
|
|
|
|
|
|
/**
|
|
|
@@ -67,6 +69,15 @@ public class ComponentDeployApi {
|
|
|
return rs;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 撤回代码审核
|
|
|
+ */
|
|
|
+ // https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/undoAudit.html
|
|
|
+ public static WxResult undoAudit(String accessToken) {
|
|
|
+ WxResult rs = WxHttp.get(WxResult.class,undoAudit+accessToken,null);
|
|
|
+ return rs;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 发布已通过审核的小程序
|
|
|
*/
|