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
1.
|
static String |
API_CODE_COMMIT
1.
|
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.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_URLcheckSignature, execute, get, getAccessToken, getAccessToken, getAnalysisService, getCloudService, getCodeService, getExpressService, getJsapiService, getMediaService, getMsgService, getPaidUnionId, getPluginService, getQrcodeService, getRequestHttp, getRunService, getSecCheckService, getSettingService, getShareService, getSubscribeService, getTemplateService, getUserService, getWxMaConfig, initHttp, jsCode2SessionInfo, post, post, setMaxRetryTimes, setRetrySleepMillis, setWxMaConfigstatic 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
static final String API_GET_WXA_SEARCH_STATUS
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_UNDO_CODE_AUDIT
单个帐号每天审核撤回次数最多不超过1次,一个月不超过10次。
static final String API_REVERT_GRAY_RELEASE
static final String API_GET_GRAY_RELEASE_PLAN
WxOpenMaDomainResult getDomain() throws WxErrorException
WxErrorExceptionWxOpenMaDomainResult modifyDomain(String action, List<String> requestdomainList, List<String> wsrequestdomainList, List<String> uploaddomainList, List<String> downloaddomainList) throws WxErrorException
action - delete删除, set覆盖, get获取WxErrorExceptionString getWebViewDomain() throws WxErrorException
WxErrorExceptionWxOpenMaWebDomainResult getWebViewDomainInfo() throws WxErrorException
WxErrorExceptionString setWebViewDomain(String action, List<String> domainList) throws WxErrorException
action - add添加, delete删除, set覆盖WxErrorExceptionWxOpenMaWebDomainResult setWebViewDomainInfo(String action, List<String> domainList) throws WxErrorException
action - add添加, delete删除, set覆盖domainList - WxErrorExceptionString getAccountBasicInfo() throws WxErrorException
WxErrorExceptionWxOpenMaBindTesterResult bindTester(String wechatid) throws WxErrorException
wechatid - 体验者微信号(不是openid)WxErrorExceptionWxOpenResult unbindTester(String wechatid) throws WxErrorException
wechatid - 体验者微信号(不是openid)WxErrorExceptionWxOpenMaTesterListResult getTesterList() throws WxErrorException
WxErrorExceptionWxOpenResult changeWxaSearchStatus(Integer status) throws WxErrorException
status - 1表示不可搜索,0表示可搜索WxErrorExceptionWxOpenMaSearchStatusResult getWxaSearchStatus() throws WxErrorException
WxErrorExceptionWxOpenMaShowItemResult getShowWxaItem() throws WxErrorException
WxErrorExceptionWxOpenResult updateShowwxaitem(Integer flag, String mpappid) throws WxErrorException
flag - 0 关闭,1 开启mpappid - 如果开启,需要传新的公众号appidWxErrorExceptionWxOpenResult codeCommit(Long templateId, String userVersion, String userDesc, WxMaOpenCommitExtInfo extInfo) throws WxErrorException
templateId - 代码模板IDuserVersion - 用户定义版本userDesc - 用户定义版本描述extInfo - 第三方自定义的配置WxErrorExceptionFile getTestQrcode(String pagePath, Map<String,String> params) throws WxErrorException
WxErrorExceptionWxOpenMaCategoryListResult getCategoryList() throws WxErrorException
注意:该接口可获取已设置的二级类目及用于代码审核的可选三级类目。
WxErrorExceptionWxOpenMaPageListResult getPageList() throws WxErrorException
WxErrorExceptionWxOpenMaSubmitAuditResult submitAudit(WxOpenMaSubmitAuditMessage submitAuditMessage) throws WxErrorException
WxErrorExceptionWxOpenMaQueryAuditResult getAuditStatus(Long auditid) throws WxErrorException
WxErrorExceptionWxOpenMaQueryAuditResult getLatestAuditStatus() throws WxErrorException
WxErrorExceptionWxOpenResult releaesAudited() throws WxErrorException
WxErrorExceptionWxOpenResult changeVisitstatus(String action) throws WxErrorException
WxErrorExceptionWxOpenResult revertCodeReleaes() throws WxErrorException
WxErrorExceptionWxOpenResult undoCodeAudit() throws WxErrorException
WxErrorExceptionString getSupportVersion() throws WxErrorException
WxErrorExceptionWxOpenMaWeappSupportVersionResult getSupportVersionInfo() throws WxErrorException
WxErrorExceptionString setSupportVersion(String version) throws WxErrorException
WxErrorExceptionWxOpenResult setSupportVersionInfo(String version) throws WxErrorException
WxErrorExceptionWxOpenResult grayrelease(Integer grayPercentage) throws WxErrorException
WxErrorExceptionWxOpenResult revertgrayrelease() throws WxErrorException
WxErrorExceptionWxOpenMaGrayReleasePlanResult getgrayreleaseplan() throws WxErrorException
WxErrorExceptionWxOpenMaQueryQuotaResult queryQuota() throws WxErrorException
WxErrorExceptionBoolean speedAudit(Long auditid) throws WxErrorException
WxErrorExceptionWxOpenResult addQrcodeJump(WxQrcodeJumpRule wxQrcodeJumpRule) throws WxErrorException
WxErrorExceptionWxGetQrcodeJumpResult getQrcodeJump() throws WxErrorException
WxErrorExceptionWxDownlooadQrcodeJumpResult downloadQrcodeJump() throws WxErrorException
WxErrorExceptionWxOpenResult deleteQrcodeJump(String prefix) throws WxErrorException
WxErrorExceptionWxOpenResult publishQrcodeJump(String prefix) throws WxErrorException
WxErrorExceptionCopyright © 2020. All rights reserved.