public interface WxOpenMaService extends WxMaService
限定符和类型 | 字段和说明 |
---|---|
static String |
API_AUDIT_UPLOAD_MEDIA
小程序审核 提审素材上传接口
|
static String |
API_BIND_TESTER
绑定微信用户为小程序体验者
|
static String |
API_CHANGE_VISITSTATUS
10.1 修改小程序线上代码的可见状态(仅供第三方代小程序调用)
|
static String |
API_CHANGE_WXA_SEARCH_STATUS
|
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
4.
|
static String |
API_GET_CODE_PRIVACY_INFO
17 获取隐私接口检测结果
|
static String |
API_GET_GRAY_RELEASE_PLAN
16.3 小程序分阶段发布-查询当前分阶段发布详情
|
static String |
API_GET_LATEST_AUDIT_STATUS
8.
|
static String |
API_GET_PAGE
5.
|
static String |
API_GET_PREFETCH_DOMAIN
获取DNS预解析域名
|
static String |
API_GET_SHOW_WXA_ITEM
3.1.
|
static String |
API_GET_TESTERLIST
获取体验者列表
|
static String |
API_GET_VERSION_INFO
小程序管理-查询小程序版本信息
|
static String |
API_GET_VISITSTATUS
10.2 查询小程序线上代码的可见状态(仅供第三方代小程序调用)
|
static String |
API_GET_WEAPP_SUPPORT_VERSION
12.查询当前设置的最低基础库版本及各版本用户占比 (仅供第三方代小程序调用)
|
static String |
API_GET_WEBVIEW_DOMAIN_CONFIRM_FILE
获取业务域名校验文件(仅供第三方代小程序调用)
|
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.设置小程序“扫普通链接二维码打开小程序”能力
...
|
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_REGISTER_SHOP_COMPONENT
通过此接口开通自定义版交易组件,将同步返回接入结果,不再有异步事件回调。
|
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
6.
|
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 设置展示的公众号
|
static String |
API_UPLOAD_AUTH_MATERIAL
小程序认证上传补充材料
|
static String |
API_VERIFY_BETA_WEAPP
3.
|
static String |
API_WX_APPLY_LIVE_INFO
申请开通直播
|
static String |
API_WX_SET_PREFETCH_DOMAIN
设置DNS预解析域名
|
GET_ACCESS_TOKEN_URL, GET_PAID_UNION_ID_URL, GET_STABLE_ACCESS_TOKEN, JSCODE_TO_SESSION_URL, SET_DYNAMIC_DATA_URL
addConfig, checkSignature, execute, execute, getAccessToken, getAccessToken, getAnalysisService, getCloudService, getCodeService, getDeviceSubscribeService, getExpressService, getImgProcService, getInternetService, getIntracityService, getJsapiService, getLinkService, getLiveGoodsService, getLiveMemberService, getLiveService, getMarketingService, getMediaService, getMsgService, getOcrService, getPaidUnionId, getPluginService, getProductOrderService, getProductService, getQrcodeService, getReimburseInvoiceService, getRequestHttp, getRunService, getSecurityService, getSettingService, getShareService, getShopAccountService, getShopAfterSaleService, getShopAuditService, getShopCatService, getShopDeliveryService, getShopImgService, getShopOrderService, getShopRegisterService, getShopSharerService, getShopSpuService, getSubscribeService, getUserService, getWxMaConfig, getWxMaExpressDeliveryReturnService, getWxMaImmediateDeliveryService, getWxMaOpenApiService, getWxMaOrderShippingService, getWxMaPromotionService, getWxMaSchemeService, getWxMaShopCouponService, getWxMaShopPayService, getWxMaVodService, getWxMaXPayService, initHttp, jsCode2SessionInfo, postWithSignature, postWithSignature, removeConfig, setDynamicData, setMaxRetryTimes, setMultiConfigs, setMultiConfigs, setRetrySleepMillis, setWxMaConfig, switchover, switchoverTo, switchoverTo
static 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_WEBVIEW_DOMAIN_CONFIRM_FILE
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_CODE_COMMIT
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_GET_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
... 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
static final String API_REGISTER_SHOP_COMPONENT
WxOpenMaDomainResult getDomain() throws WxErrorException
WxErrorException
- the wx error exceptionWxOpenMaDomainResult modifyDomain(String action, List<String> requestDomains, List<String> wsRequestDomains, List<String> uploadDomains, List<String> downloadDomains, List<String> udpDomains, List<String> tcpDomains) throws WxErrorException
action
- delete删除, set覆盖, get获取requestDomains
- request 合法域名;当 action 是 get 时不需要此字段wsRequestDomains
- socket 合法域名;当 action 是 get 时不需要此字段uploadDomains
- uploadFile 合法域名;当 action 是 get 时不需要此字段downloadDomains
- downloadFile 合法域名;当 action 是 get 时不需要此字段tcpDomains
- tcp 合法域名;当 action 是 get 时不需要此字段udpDomains
- udp 合法域名;当 action 是 get 时不需要此字段WxErrorException
- 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 exceptionWxOpenMaDomainConfirmFileResult getWebviewDomainConfirmFile() throws WxErrorException
WxErrorException
- 操作失败时抛出,具体错误码请看文档String 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, Object extJsonObject) throws WxErrorException
templateId
- 代码模板IDuserVersion
- 用户定义版本userDesc
- 用户定义版本描述extJsonObject
- 为了方便第三方平台的开发者引入 extAppid 的开发调试工作,引入ext.json配置文件概念,该参数则是用于控制ext.json配置文件的内容。
如果是普通模板可以使用 WxMaOpenCommitExtInfo 类构造参数,
如果是标准模板可支持的参数为:{"extAppid":'', "ext": {}, "window": {}} 所以可以使用 WxMaOpenCommitStandardExt 构造参数WxErrorException
- the wx error exceptionWxMaOpenCommitStandardExt
,
WxMaOpenCommitExtInfo
File getTestQrcode(String pagePath, Map<String,String> params) throws WxErrorException
pagePath
- the page pathparams
- the paramsWxErrorException
- the wx error exceptionWxOpenResult verifyBetaWeapp(WxOpenMaVerifyBetaWeappMessage verifyBetaWeappMessage) throws WxErrorException
verifyBetaWeappMessage
- the verify mini program messageWxErrorException
- 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 exceptionWxOpenMaVisitStatusResult getVisitStatus() throws WxErrorException
WxErrorException
- 查询失败时返回,具体错误码请看此接口的注释文档WxOpenResult revertCodeRelease() throws WxErrorException
WxErrorException
- 。WxOpenMaHistoryVersionResult getHistoryVersion() 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
- .WxOpenMaGetCodePrivacyInfoResult getCodePrivacyInfo() throws WxErrorException
WxOpenMaGetCodePrivacyInfoResult
WxErrorException
- wx错误异常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 exceptionWxMaScheme generateMaScheme(String jumpWxaPath, String jumpWxaQuery, Boolean isExpire, Long expireTime) throws WxErrorException
WxErrorException
WxOpenResult registerShopComponent() throws WxErrorException
WxErrorException
WxOpenMaBasicService getBasicService()
WxOpenMaAuthService getAuthService()
WxOpenMaIcpService getIcpService()
WxOpenMaPrivacyService getPrivacyService()
WxOpenMaEmbeddedService getEmbeddedService()
WxOpenMaShoppingOrdersService getShoppingOrdersService()
WxMaAuditMediaUploadResult uploadMedia(File file) throws WxErrorException
WxErrorException
WxOpenVersioninfoResult getVersionInfo() throws WxErrorException
WxErrorException
- the wx error exceptionWxOpenResult setPrefetchDomain(WxMaPrefetchDomain domain) throws WxErrorException
domain
- 预解析域名列表WxOpenResult
WxErrorException
- the wx error exceptionWxOpenMaPrefetchDomainResult getPrefetchDomain() throws WxErrorException
WxOpenMaPrefetchDomainResult
WxErrorException
- he wx error exceptionWxOpenMaApplyLiveInfoResult applyLiveInfo() throws WxErrorException
WxOpenMaApplyLiveInfoResult
WxErrorException
- the wx error exception@Deprecated WxMaUploadAuthMaterialResult uploadAuthMaterial(File file) throws WxErrorException
WxErrorException
应使用此处方法处理小程序认证相关业务
Copyright © 2024. All rights reserved.