public class WxOpenMaServiceImpl extends WxMaServiceImpl implements WxOpenMaService
增加开放平台代小程序管理服务能力
说明:这里让这个服务公开便于调用者模拟本地测试服务
GSONAPI_BIND_TESTER, API_CHANGE_VISITSTATUS, API_CHANGE_WXA_SEARCH_STATUS, API_CODE_COMMIT, API_GET_ACCOUNT_BASICINFO, API_GET_AUDIT_STATUS, API_GET_CATEGORY, API_GET_GRAY_RELEASE_PLAN, API_GET_LATEST_AUDIT_STATUS, API_GET_PAGE, API_GET_SHOW_WXA_ITEM, API_GET_TESTERLIST, API_GET_WEAPP_SUPPORT_VERSION, API_GET_WXA_SEARCH_STATUS, API_GRAY_RELEASE, API_MODIFY_DOMAIN, API_QRCODE_JUMP_ADD, API_QRCODE_JUMP_DELETE, API_QRCODE_JUMP_DOWNLOAD, API_QRCODE_JUMP_GET, API_QRCODE_JUMP_PUBLISH, API_QUERY_QUOTA, API_RELEASE, API_REVERT_CODE_RELEASE, API_REVERT_GRAY_RELEASE, API_SET_WEAPP_SUPPORT_VERSION, API_SET_WEBVIEW_DOMAIN, API_SPEED_AUDIT, API_SUBMIT_AUDIT, API_TEST_QRCODE, API_UNBIND_TESTER, API_UNDO_CODE_AUDIT, API_UPDATE_SHOW_WXA_ITEMGET_ACCESS_TOKEN_URL, GET_PAID_UNION_ID_URL, JSCODE_TO_SESSION_URL, SET_DYNAMIC_DATA_URL| 构造器和说明 |
|---|
WxOpenMaServiceImpl(WxOpenComponentService wxOpenComponentService,
String appId,
WxMaConfig wxMaConfig) |
doGetAccessTokenRequest, getRequestHttpClient, getRequestHttpProxy, getRequestType, initHttpaddConfig, checkSignature, execute, extractAccessToken, get, 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, getWxMaSchemeService, post, post, post, post, removeConfig, setDynamicData, setMaxRetryTimes, setMultiConfigs, setMultiConfigs, setRetrySleepMillis, setWxMaConfig, switchover, switchoverToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddConfig, checkSignature, execute, 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, getWxMaSchemeService, initHttp, removeConfig, setDynamicData, setMaxRetryTimes, setMultiConfigs, setMultiConfigs, setRetrySleepMillis, setWxMaConfig, switchover, switchoverTopublic WxOpenMaServiceImpl(WxOpenComponentService wxOpenComponentService, String appId, WxMaConfig wxMaConfig)
public WxMaJscode2SessionResult jsCode2SessionInfo(String jsCode) throws WxErrorException
jsCode2SessionInfo 在接口中 WxMaServicejsCode2SessionInfo 在类中 BaseWxMaServiceImplWxErrorExceptionpublic WxMaConfig getWxMaConfig()
getWxMaConfig 在接口中 WxMaServicegetWxMaConfig 在类中 BaseWxMaServiceImplpublic String getAccessToken(boolean forceRefresh) throws WxErrorException
getAccessToken 在接口中 WxMaServicegetAccessToken 在类中 BaseWxMaServiceImplWxErrorExceptionpublic WxOpenMaDomainResult getDomain() throws WxErrorException
WxOpenMaServicegetDomain 在接口中 WxOpenMaServiceWxErrorException - the wx error exceptionpublic WxOpenMaDomainResult modifyDomain(String action, List<String> requestDomains, List<String> wsRequestDomains, List<String> uploadDomains, List<String> downloadDomains) throws WxErrorException
WxOpenMaServicemodifyDomain 在接口中 WxOpenMaServiceaction - delete删除, set覆盖, get获取requestDomains - the requestdomain listwsRequestDomains - the wsrequestdomain listuploadDomains - the uploaddomain listdownloadDomains - the downloaddomain listWxErrorException - the wx error exceptionpublic String getWebViewDomain() throws WxErrorException
WxOpenMaServicegetWebViewDomain 在接口中 WxOpenMaServiceWxErrorException - the wx error exceptionpublic WxOpenMaWebDomainResult getWebViewDomainInfo() throws WxErrorException
WxOpenMaServicegetWebViewDomainInfo 在接口中 WxOpenMaServiceWxErrorException - the wx error exceptionpublic String setWebViewDomain(String action, List<String> domainList) throws WxErrorException
WxOpenMaServicesetWebViewDomain 在接口中 WxOpenMaServiceaction - add添加, delete删除, set覆盖domainList - the domain listWxErrorException - the wx error exceptionpublic WxOpenMaWebDomainResult setWebViewDomainInfo(String action, List<String> domainList) throws WxErrorException
WxOpenMaServicesetWebViewDomainInfo 在接口中 WxOpenMaServiceaction - add添加, delete删除, set覆盖domainList - the domain listWxErrorException - the wx error exceptionpublic String getAccountBasicInfo() throws WxErrorException
WxOpenMaServicegetAccountBasicInfo 在接口中 WxOpenMaServiceWxErrorException - the wx error exceptionpublic WxOpenMaBindTesterResult bindTester(String wechatId) throws WxErrorException
WxOpenMaServicebindTester 在接口中 WxOpenMaServicewechatId - 体验者微信号(不是openid)WxErrorException - the wx error exceptionpublic WxOpenResult unbindTester(String wechatId) throws WxErrorException
WxOpenMaServiceunbindTester 在接口中 WxOpenMaServicewechatId - 体验者微信号(不是openid)WxErrorException - the wx error exceptionpublic WxOpenResult unbindTesterByUserStr(String userStr) throws WxErrorException
WxOpenMaServiceunbindTesterByUserStr 在接口中 WxOpenMaServiceuserStr - 人员对应的唯一字符串, 可通过获取已绑定的体验者列表获取人员对应的字符串WxErrorException - the wx error exceptionpublic WxOpenMaTesterListResult getTesterList() throws WxErrorException
WxOpenMaServicegetTesterList 在接口中 WxOpenMaServiceWxErrorException - the wx error exceptionpublic WxOpenResult changeWxaSearchStatus(Integer status) throws WxErrorException
WxOpenMaServicechangeWxaSearchStatus 在接口中 WxOpenMaServicestatus - 1表示不可搜索,0表示可搜索WxErrorException - the wx error exceptionpublic WxOpenMaSearchStatusResult getWxaSearchStatus() throws WxErrorException
WxOpenMaServicegetWxaSearchStatus 在接口中 WxOpenMaServiceWxErrorException - the wx error exceptionpublic WxOpenMaShowItemResult getShowWxaItem() throws WxErrorException
WxOpenMaServicegetShowWxaItem 在接口中 WxOpenMaServiceWxErrorException - the wx error exceptionpublic WxOpenResult updateShowWxaItem(Integer flag, String mpAppId) throws WxErrorException
WxOpenMaServiceupdateShowWxaItem 在接口中 WxOpenMaServiceflag - 0 关闭,1 开启mpAppId - 如果开启,需要传新的公众号appidWxErrorException - the wx error exceptionpublic WxOpenResult codeCommit(Long templateId, String userVersion, String userDesc, WxMaOpenCommitExtInfo extInfo) throws WxErrorException
WxOpenMaServicecodeCommit 在接口中 WxOpenMaServicetemplateId - 代码模板IDuserVersion - 用户定义版本userDesc - 用户定义版本描述extInfo - 第三方自定义的配置WxErrorException - the wx error exceptionpublic File getTestQrcode(String pagePath, Map<String,String> params) throws WxErrorException
WxOpenMaServicegetTestQrcode 在接口中 WxOpenMaServicepagePath - the page pathparams - the paramsWxErrorException - the wx error exceptionpublic WxOpenMaCategoryListResult getCategoryList() throws WxErrorException
WxOpenMaService注意:该接口可获取已设置的二级类目及用于代码审核的可选三级类目。
getCategoryList 在接口中 WxOpenMaServiceWxErrorException - the wx error exceptionpublic WxOpenMaPageListResult getPageList() throws WxErrorException
WxOpenMaServicegetPageList 在接口中 WxOpenMaServiceWxErrorException - the wx error exceptionpublic WxOpenMaSubmitAuditResult submitAudit(WxOpenMaSubmitAuditMessage submitAuditMessage) throws WxErrorException
WxOpenMaServicesubmitAudit 在接口中 WxOpenMaServicesubmitAuditMessage - the submit audit messageWxErrorException - the wx error exceptionpublic WxOpenMaQueryAuditResult getAuditStatus(Long auditId) throws WxErrorException
WxOpenMaServicegetAuditStatus 在接口中 WxOpenMaServiceauditId - the auditidWxErrorException - the wx error exceptionpublic WxOpenMaQueryAuditResult getLatestAuditStatus() throws WxErrorException
WxOpenMaServicegetLatestAuditStatus 在接口中 WxOpenMaServiceWxErrorException - 。public WxOpenResult releaseAudited() throws WxErrorException
WxOpenMaService请填写空的数据包,POST的json数据包为空即可。
releaseAudited 在接口中 WxOpenMaServiceWxErrorException - 。public WxOpenResult changeVisitStatus(String action) throws WxErrorException
WxOpenMaServicechangeVisitStatus 在接口中 WxOpenMaServiceaction - the actionWxErrorException - the wx error exceptionpublic WxOpenResult revertCodeRelease() throws WxErrorException
WxOpenMaServicerevertCodeRelease 在接口中 WxOpenMaServiceWxErrorException - 。public WxOpenResult undoCodeAudit() throws WxErrorException
WxOpenMaService单个帐号每天审核撤回次数最多不超过1次,一个月不超过10次。
undoCodeAudit 在接口中 WxOpenMaServiceWxErrorException - 。public String getSupportVersion() throws WxErrorException
WxOpenMaServicegetSupportVersion 在接口中 WxOpenMaServiceWxErrorException - 。public WxOpenMaWeappSupportVersionResult getSupportVersionInfo() throws WxErrorException
WxOpenMaServicegetSupportVersionInfo 在接口中 WxOpenMaServiceWxErrorException - .public String setSupportVersion(String version) throws WxErrorException
WxOpenMaServicesetSupportVersion 在接口中 WxOpenMaServiceversion - the versionWxErrorException - the wx error exceptionpublic WxOpenResult setSupportVersionInfo(String version) throws WxErrorException
WxOpenMaServicesetSupportVersionInfo 在接口中 WxOpenMaServiceversion - the versionWxErrorException - the wx error exceptionpublic WxOpenResult grayRelease(Integer grayPercentage) throws WxErrorException
WxOpenMaServicegrayRelease 在接口中 WxOpenMaServicegrayPercentage - 灰度的百分比,1到100的整数WxErrorException - .public WxOpenResult revertGrayRelease() throws WxErrorException
WxOpenMaServicerevertGrayRelease 在接口中 WxOpenMaServiceWxErrorException - .public WxOpenMaGrayReleasePlanResult getGrayReleasePlan() throws WxErrorException
WxOpenMaServicegetGrayReleasePlan 在接口中 WxOpenMaServiceWxErrorException - .public WxOpenMaQueryQuotaResult queryQuota() throws WxErrorException
WxOpenMaServicequeryQuota 在接口中 WxOpenMaServiceWxErrorException - the wx error exceptionpublic Boolean speedAudit(Long auditId) throws WxErrorException
WxOpenMaServicespeedAudit 在接口中 WxOpenMaServiceauditId - the auditidWxErrorException - the wx error exceptionpublic WxOpenResult addQrcodeJump(WxQrcodeJumpRule wxQrcodeJumpRule) throws WxErrorException
WxOpenMaServiceaddQrcodeJump 在接口中 WxOpenMaServicewxQrcodeJumpRule - the wx qrcode jump ruleWxErrorException - the wx error exceptionpublic WxGetQrcodeJumpResult getQrcodeJump() throws WxErrorException
WxOpenMaServicegetQrcodeJump 在接口中 WxOpenMaServiceWxErrorException - the wx error exceptionpublic WxDownlooadQrcodeJumpResult downloadQrcodeJump() throws WxErrorException
WxOpenMaServicedownloadQrcodeJump 在接口中 WxOpenMaServiceWxErrorException - the wx error exceptionpublic WxOpenResult deleteQrcodeJump(String prefix) throws WxErrorException
WxOpenMaServicedeleteQrcodeJump 在接口中 WxOpenMaServiceprefix - the prefixWxErrorException - the wx error exceptionpublic WxOpenResult publishQrcodeJump(String prefix) throws WxErrorException
WxOpenMaServicepublishQrcodeJump 在接口中 WxOpenMaServiceprefix - the prefixWxErrorException - the wx error exceptionCopyright © 2021. All rights reserved.