|
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
|
|
|
import com.mrxu.framework.common.util.StrFunc;
|
|
import com.mrxu.framework.common.util.StrFunc;
|
|
|
import com.mrxu.framework.common.weixin.base.WxHttp;
|
|
import com.mrxu.framework.common.weixin.base.WxHttp;
|
|
|
import com.mrxu.framework.common.weixin.base.WxResult;
|
|
import com.mrxu.framework.common.weixin.base.WxResult;
|
|
|
|
|
+import com.mrxu.framework.common.weixin.bean.AuditStatus;
|
|
|
import com.mrxu.framework.common.weixin.bean.CommitPage;
|
|
import com.mrxu.framework.common.weixin.bean.CommitPage;
|
|
|
import com.mrxu.framework.common.weixin.bean.SubmitAudit;
|
|
import com.mrxu.framework.common.weixin.bean.SubmitAudit;
|
|
|
|
|
|
|
@@ -20,6 +21,8 @@ public class ComponentDeployApi {
|
|
|
|
|
|
|
|
private static String submit_audit = "https://api.weixin.qq.com/wxa/submit_audit?access_token=";
|
|
private static String submit_audit = "https://api.weixin.qq.com/wxa/submit_audit?access_token=";
|
|
|
|
|
|
|
|
|
|
+ private static String get_auditstatus = "https://api.weixin.qq.com/wxa/get_auditstatus?access_token=";
|
|
|
|
|
+
|
|
|
private static String undoAudit = "https://api.weixin.qq.com/wxa/undocodeaudit?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=";
|
|
private static String release = "https://api.weixin.qq.com/wxa/release?access_token=";
|
|
@@ -69,6 +72,20 @@ public class ComponentDeployApi {
|
|
|
return rs;
|
|
return rs;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 查询审核单状态
|
|
|
|
|
+ * @param accessToken
|
|
|
|
|
+ * @param auditid
|
|
|
|
|
+ * @return
|
|
|
|
|
+ * https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/getAuditStatus.html
|
|
|
|
|
+ */
|
|
|
|
|
+ public static AuditStatus getAuditStatus(String accessToken, Integer auditid) {
|
|
|
|
|
+ JSONObject json = new JSONObject();
|
|
|
|
|
+ json.put("auditid", auditid);
|
|
|
|
|
+ AuditStatus rs = WxHttp.post(AuditStatus.class,get_auditstatus+accessToken,json);
|
|
|
|
|
+ return rs;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 撤回代码审核
|
|
* 撤回代码审核
|
|
|
*/
|
|
*/
|