public interface WxOpenMaService extends WxMaService
微信开放平台代小程序实现服务能力
https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1489144594_DhNoV&token=&lang=zh_CN
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
API_BIND_TESTER
绑定微信用户为小程序体验者
|
static String |
API_CHANGE_VISITSTATUS
10.
|
static String |
API_CHANGE_WXA_SEARCH_STATUS
以下接口基础信息设置
https://open.weixin.qq.com/cgi-bin/showdocument?
|
static String |
API_CODE_COMMIT
以下接口为三方平台代小程序实现的代码管理功能
https://open.weixin.qq.com/cgi-bin/showdocument?
|
static String |
API_GET_ACCOUNT_BASICINFO
获取帐号基本信息
GET请求
注意:需要使用1.3环节获取到的新创建小程序appid及authorization_code换取authorizer_refresh_token进而得到authorizer_access_token。
|
static String |
API_GET_AUDIT_STATUS
7.
|
static String |
API_GET_CATEGORY
3.
|
static String |
API_GET_GRAY_RELEASE_PLAN
16.3 小程序分阶段发布-查询当前分阶段发布详情
|
static String |
API_GET_LATEST_AUDIT_STATUS
8.
|
static String |
API_GET_PAGE
4.
|
static String |
API_GET_SHOW_WXA_ITEM
3.1.
|
static String |
API_GET_TESTERLIST
获取体验者列表
|
static String |
API_GET_WEAPP_SUPPORT_VERSION
12.查询当前设置的最低基础库版本及各版本用户占比 (仅供第三方代小程序调用)
|
static String |
API_GET_WXA_SEARCH_STATUS
2.
|
static String |
API_GRAY_RELEASE
16.1 小程序分阶段发布-分阶段发布接口
|
static String |
API_MODIFY_DOMAIN
设置小程序服务器域名.
|
static String |
API_QRCODE_JUMP_ADD
14.设置小程序“扫普通链接二维码打开小程序”能力
https://mp.weixin.qq.com/debug/wxadoc/introduction/qrcode.html
14.1 增加或修改二维码规则
|
static String |
API_QRCODE_JUMP_DELETE
14.4 删除已设置的二维码规则
|
static String |
API_QRCODE_JUMP_DOWNLOAD
14.3 获取校验文件名称及内容
|
static String |
API_QRCODE_JUMP_GET
14.2 获取已设置的二维码规则
|
static String |
API_QRCODE_JUMP_PUBLISH
14.5 发布已设置的二维码规则
|
static String |
API_QUERY_QUOTA
查询服务商的当月提审限额和加急次数(Quota)
|
static String |
API_RELEASE
9.
|
static String |
API_REVERT_CODE_RELEASE
11.小程序版本回退(仅供第三方代小程序调用)
|
static String |
API_REVERT_GRAY_RELEASE
16.2 小程序分阶段发布-取消分阶段发布
|
static String |
API_SET_WEAPP_SUPPORT_VERSION
13.设置最低基础库版本(仅供第三方代小程序调用)
|
static String |
API_SET_WEBVIEW_DOMAIN
设置小程序业务域名(仅供第三方代小程序调用)
授权给第三方的小程序,其业务域名只可以为第三方的服务器,当小程序通过第三方发布代码上线后,小程序原先自己配置的业务域名将被删除,
只保留第三方平台的域名,所以第三方平台在代替小程序发布代码之前,需要调用接口为小程序添加业务域名。
|
static String |
API_SPEED_AUDIT
加急审核申请
|
static String |
API_SUBMIT_AUDIT
5.
|
static String |
API_TEST_QRCODE
2.
|
static String |
API_UNBIND_TESTER
解除绑定微信用户为小程序体验者
|
static String |
API_UNDO_CODE_AUDIT
15.小程序审核撤回
单个帐号每天审核撤回次数最多不超过1次,一个月不超过10次。
|
static String |
API_UPDATE_SHOW_WXA_ITEM
3.2 设置展示的公众号
|
GET_ACCESS_TOKEN_URL, GET_PAID_UNION_ID_URL, JSCODE_TO_SESSION_URL, SET_DYNAMIC_DATA_URLaddConfig, checkSignature, execute, getAccessToken, getAccessToken, getAnalysisService, getCloudService, getCodeService, getExpressService, getImgProcService, getJsapiService, getLiveGoodsService, getLiveMemberService, getLiveService, getMediaService, getMsgService, getOcrService, getPaidUnionId, getPluginService, getQrcodeService, getRequestHttp, getRunService, getSecCheckService, getSettingService, getShareService, getShopOrderService, getShopSpuService, getSubscribeService, getUserService, getWxMaConfig, getWxMaSchemeService, initHttp, jsCode2SessionInfo, removeConfig, setDynamicData, setMaxRetryTimes, setMultiConfigs, setMultiConfigs, setRetrySleepMillis, setWxMaConfig, switchover, switchoverTostatic final String API_MODIFY_DOMAIN
授权给第三方的小程序,其服务器域名只可以为第三方的服务器,当小程序通过第三方发布代码上线后,小程序原先自己配置的服务器域名将被删除,
只保留第三方平台的域名,所以第三方平台在代替小程序发布代码之前,需要调用接口为小程序添加第三方自身的域名。
提示:需要先将域名登记到第三方平台的小程序服务器域名中,才可以调用接口进行配置
static final String API_SET_WEBVIEW_DOMAIN
授权给第三方的小程序,其业务域名只可以为第三方的服务器,当小程序通过第三方发布代码上线后,小程序原先自己配置的业务域名将被删除,
只保留第三方平台的域名,所以第三方平台在代替小程序发布代码之前,需要调用接口为小程序添加业务域名。
提示:
1、需要先将域名登记到第三方平台的小程序业务域名中,才可以调用接口进行配置。
2、为授权的小程序配置域名时支持配置子域名,例如第三方登记的业务域名如为qq.com,则可以直接将qq.com及其子域名(如xxx.qq.com)也配置到授权的小程序中。
static final String API_GET_ACCOUNT_BASICINFO
GET请求 注意:需要使用1.3环节获取到的新创建小程序appid及authorization_code换取authorizer_refresh_token进而得到authorizer_access_token。
static final String API_CHANGE_WXA_SEARCH_STATUS
https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=21517799059ZSEMr&token=6f965b5daf30a98a6bbd2a386faea5c934e929bf&lang=zh_CN
1. 设置小程序隐私设置(是否可被搜索)static final String API_GET_WXA_SEARCH_STATUS
static final String API_CODE_COMMIT
https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1489140610_Uavc4&token=fe774228c66725425675810097f9e48d0737a4bf&lang=zh_CN
1. 为授权的小程序帐号上传小程序代码static final String API_GET_AUDIT_STATUS
static final String API_GET_LATEST_AUDIT_STATUS
static final String API_CHANGE_VISITSTATUS
static final String API_REVERT_CODE_RELEASE
static final String API_GET_WEAPP_SUPPORT_VERSION
static final String API_SET_WEAPP_SUPPORT_VERSION
static final String API_QRCODE_JUMP_ADD
https://mp.weixin.qq.com/debug/wxadoc/introduction/qrcode.html 14.1 增加或修改二维码规则
static final String API_UNDO_CODE_AUDIT
单个帐号每天审核撤回次数最多不超过1次,一个月不超过10次。
static final String API_REVERT_GRAY_RELEASE
static final String API_GET_GRAY_RELEASE_PLAN
WxOpenMaDomainResult getDomain() throws WxErrorException
WxErrorException - the wx error exceptionWxOpenMaDomainResult modifyDomain(String action, List<String> requestDomains, List<String> wsRequestDomains, List<String> uploadDomains, List<String> downloadDomains) throws WxErrorException
action - delete删除, set覆盖, get获取requestDomains - the requestdomain listwsRequestDomains - the wsrequestdomain listuploadDomains - the uploaddomain listdownloadDomains - the downloaddomain listWxErrorException - the wx error exceptionString getWebViewDomain() throws WxErrorException
WxErrorException - the wx error exceptionWxOpenMaWebDomainResult getWebViewDomainInfo() throws WxErrorException
WxErrorException - the wx error exceptionString setWebViewDomain(String action, List<String> domainList) throws WxErrorException
action - add添加, delete删除, set覆盖domainList - the domain listWxErrorException - the wx error exceptionWxOpenMaWebDomainResult setWebViewDomainInfo(String action, List<String> domainList) throws WxErrorException
action - add添加, delete删除, set覆盖domainList - the domain listWxErrorException - the wx error exceptionString getAccountBasicInfo() throws WxErrorException
WxErrorException - the wx error exceptionWxOpenMaBindTesterResult bindTester(String wechatId) throws WxErrorException
wechatId - 体验者微信号(不是openid)WxErrorException - the wx error exceptionWxOpenResult unbindTester(String wechatId) throws WxErrorException
wechatId - 体验者微信号(不是openid)WxErrorException - the wx error exceptionWxOpenResult unbindTesterByUserStr(String userStr) throws WxErrorException
userStr - 人员对应的唯一字符串, 可通过获取已绑定的体验者列表获取人员对应的字符串WxErrorException - the wx error exceptionWxOpenMaTesterListResult getTesterList() throws WxErrorException
WxErrorException - the wx error exceptionWxOpenResult changeWxaSearchStatus(Integer status) throws WxErrorException
status - 1表示不可搜索,0表示可搜索WxErrorException - the wx error exceptionWxOpenMaSearchStatusResult getWxaSearchStatus() throws WxErrorException
WxErrorException - the wx error exceptionWxOpenMaShowItemResult getShowWxaItem() throws WxErrorException
WxErrorException - the wx error exceptionWxOpenResult updateShowWxaItem(Integer flag, String mpAppId) throws WxErrorException
flag - 0 关闭,1 开启mpAppId - 如果开启,需要传新的公众号appidWxErrorException - the wx error exceptionWxOpenResult codeCommit(Long templateId, String userVersion, String userDesc, WxMaOpenCommitExtInfo extInfo) throws WxErrorException
templateId - 代码模板IDuserVersion - 用户定义版本userDesc - 用户定义版本描述extInfo - 第三方自定义的配置WxErrorException - the wx error exceptionFile getTestQrcode(String pagePath, Map<String,String> params) throws WxErrorException
pagePath - the page pathparams - the paramsWxErrorException - the wx error exceptionWxOpenMaCategoryListResult getCategoryList() throws WxErrorException
注意:该接口可获取已设置的二级类目及用于代码审核的可选三级类目。
WxErrorException - the wx error exceptionWxOpenMaPageListResult getPageList() throws WxErrorException
WxErrorException - the wx error exceptionWxOpenMaSubmitAuditResult submitAudit(WxOpenMaSubmitAuditMessage submitAuditMessage) throws WxErrorException
submitAuditMessage - the submit audit messageWxErrorException - the wx error exceptionWxOpenMaQueryAuditResult getAuditStatus(Long auditId) throws WxErrorException
auditId - the auditidWxErrorException - the wx error exceptionWxOpenMaQueryAuditResult getLatestAuditStatus() throws WxErrorException
WxErrorException - 。WxOpenResult releaseAudited() throws WxErrorException
请填写空的数据包,POST的json数据包为空即可。
WxErrorException - 。WxOpenResult changeVisitStatus(String action) throws WxErrorException
action - the actionWxErrorException - the wx error exceptionWxOpenResult revertCodeRelease() throws WxErrorException
WxErrorException - 。WxOpenResult undoCodeAudit() throws WxErrorException
单个帐号每天审核撤回次数最多不超过1次,一个月不超过10次。
WxErrorException - 。String getSupportVersion() throws WxErrorException
WxErrorException - 。WxOpenMaWeappSupportVersionResult getSupportVersionInfo() throws WxErrorException
WxErrorException - .String setSupportVersion(String version) throws WxErrorException
version - the versionWxErrorException - the wx error exceptionWxOpenResult setSupportVersionInfo(String version) throws WxErrorException
version - the versionWxErrorException - the wx error exceptionWxOpenResult grayRelease(Integer grayPercentage) throws WxErrorException
grayPercentage - 灰度的百分比,1到100的整数WxErrorException - .WxOpenResult revertGrayRelease() throws WxErrorException
WxErrorException - .WxOpenMaGrayReleasePlanResult getGrayReleasePlan() throws WxErrorException
WxErrorException - .WxOpenMaQueryQuotaResult queryQuota() throws WxErrorException
WxErrorException - the wx error exceptionBoolean speedAudit(Long auditId) throws WxErrorException
auditId - the auditidWxErrorException - the wx error exceptionWxOpenResult addQrcodeJump(WxQrcodeJumpRule wxQrcodeJumpRule) throws WxErrorException
wxQrcodeJumpRule - the wx qrcode jump ruleWxErrorException - the wx error exceptionWxGetQrcodeJumpResult getQrcodeJump() throws WxErrorException
WxErrorException - the wx error exceptionWxDownlooadQrcodeJumpResult downloadQrcodeJump() throws WxErrorException
WxErrorException - the wx error exceptionWxOpenResult deleteQrcodeJump(String prefix) throws WxErrorException
prefix - the prefixWxErrorException - the wx error exceptionWxOpenResult publishQrcodeJump(String prefix) throws WxErrorException
prefix - the prefixWxErrorException - the wx error exceptionCopyright © 2021. All rights reserved.