public class WxOpenMaServiceImpl extends WxMaServiceImpl implements WxOpenMaService
增加开放平台代小程序管理服务能力
说明:这里让这个服务公开便于调用者模拟本地测试服务
, yqxGSONAPI_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) |
checkSignature, execute, get, getAccessToken, getAnalysisService, getCloudService, getCodeService, getExpressService, getJsapiService, getLiveService, getMediaService, getMsgService, getPaidUnionId, getPluginService, getQrcodeService, getRequestHttp, getRequestHttpClient, getRequestHttpProxy, getRequestType, getRunService, getSecCheckService, getSettingService, getShareService, getSubscribeService, getTemplateService, getUserService, initHttp, post, post, setDynamicData, setMaxRetryTimes, setRetrySleepMillis, setWxMaConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSignature, execute, getAccessToken, getAnalysisService, getCloudService, getCodeService, getExpressService, getJsapiService, getLiveService, getMediaService, getMsgService, getPaidUnionId, getPluginService, getQrcodeService, getRequestHttp, getRunService, getSecCheckService, getSettingService, getShareService, getSubscribeService, getTemplateService, getUserService, initHttp, setDynamicData, setMaxRetryTimes, setRetrySleepMillis, setWxMaConfigpublic WxOpenMaServiceImpl(WxOpenComponentService wxOpenComponentService, String appId, WxMaConfig wxMaConfig)
public WxMaJscode2SessionResult jsCode2SessionInfo(String jsCode) throws WxErrorException
jsCode2SessionInfo 在接口中 WxMaServicejsCode2SessionInfo 在类中 WxMaServiceImplWxErrorExceptionpublic WxMaConfig getWxMaConfig()
getWxMaConfig 在接口中 WxMaServicegetWxMaConfig 在类中 WxMaServiceImplpublic String getAccessToken(boolean forceRefresh) throws WxErrorException
getAccessToken 在接口中 WxMaServicegetAccessToken 在类中 WxMaServiceImplWxErrorExceptionpublic WxOpenMaDomainResult getDomain() throws WxErrorException
getDomain 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenMaDomainResult modifyDomain(String action, List<String> requestdomainList, List<String> wsrequestdomainList, List<String> uploaddomainList, List<String> downloaddomainList) throws WxErrorException
modifyDomain 在接口中 WxOpenMaServiceaction - delete删除, set覆盖, get获取requestdomainList - wsrequestdomainList - uploaddomainList - downloaddomainList - WxErrorExceptionpublic String getWebViewDomain() throws WxErrorException
getWebViewDomain 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenMaWebDomainResult getWebViewDomainInfo() throws WxErrorException
getWebViewDomainInfo 在接口中 WxOpenMaServiceWxErrorExceptionpublic String setWebViewDomain(String action, List<String> domainList) throws WxErrorException
setWebViewDomain 在接口中 WxOpenMaServiceaction - add添加, delete删除, set覆盖domainList - WxErrorExceptionpublic WxOpenMaWebDomainResult setWebViewDomainInfo(String action, List<String> domainList) throws WxErrorException
setWebViewDomainInfo 在接口中 WxOpenMaServiceaction - add添加, delete删除, set覆盖WxErrorExceptionpublic String getAccountBasicInfo() throws WxErrorException
注意:这里不能直接用小程序的access_token
//TODO 待调整
getAccountBasicInfo 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenMaBindTesterResult bindTester(String wechatid) throws WxErrorException
bindTester 在接口中 WxOpenMaServicewechatid - 体验者微信号(不是openid)WxErrorExceptionpublic WxOpenResult unbindTester(String wechatid) throws WxErrorException
unbindTester 在接口中 WxOpenMaServicewechatid - 体验者微信号(不是openid)WxErrorExceptionpublic WxOpenResult unbindTesterByUserstr(String userstr) throws WxErrorException
unbindTesterByUserstr 在接口中 WxOpenMaServiceuserstr - 人员对应的唯一字符串, 可通过获取已绑定的体验者列表获取人员对应的字符串WxErrorExceptionpublic WxOpenMaTesterListResult getTesterList() throws WxErrorException
getTesterList 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenResult changeWxaSearchStatus(Integer status) throws WxErrorException
changeWxaSearchStatus 在接口中 WxOpenMaServicestatus - 1表示不可搜索,0表示可搜索WxErrorExceptionpublic WxOpenMaSearchStatusResult getWxaSearchStatus() throws WxErrorException
getWxaSearchStatus 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenMaShowItemResult getShowWxaItem() throws WxErrorException
getShowWxaItem 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenResult updateShowwxaitem(Integer flag, String mpappid) throws WxErrorException
updateShowwxaitem 在接口中 WxOpenMaServiceflag - 0 关闭,1 开启mpappid - 如果开启,需要传新的公众号appidWxErrorExceptionpublic WxOpenResult codeCommit(Long templateId, String userVersion, String userDesc, WxMaOpenCommitExtInfo extInfo) throws WxErrorException
codeCommit 在接口中 WxOpenMaServicetemplateId - 代码模板IDuserVersion - 用户定义版本userDesc - 用户定义版本描述extInfo - 第三方自定义的配置WxErrorExceptionpublic File getTestQrcode(String pagePath, Map<String,String> params) throws WxErrorException
getTestQrcode 在接口中 WxOpenMaServicepagePath - params - WxErrorExceptionpublic WxOpenMaCategoryListResult getCategoryList() throws WxErrorException
注意:该接口可获取已设置的二级类目及用于代码审核的可选三级类目。
getCategoryList 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenMaPageListResult getPageList() throws WxErrorException
getPageList 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenMaSubmitAuditResult submitAudit(WxOpenMaSubmitAuditMessage submitAuditMessage) throws WxErrorException
submitAudit 在接口中 WxOpenMaServicesubmitAuditMessage - WxErrorExceptionpublic WxOpenMaQueryAuditResult getAuditStatus(Long auditid) throws WxErrorException
getAuditStatus 在接口中 WxOpenMaServiceauditid - WxErrorExceptionpublic WxOpenMaQueryAuditResult getLatestAuditStatus() throws WxErrorException
getLatestAuditStatus 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenResult releaesAudited() throws WxErrorException
请填写空的数据包,POST的json数据包为空即可。
releaesAudited 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenResult changeVisitstatus(String action) throws WxErrorException
changeVisitstatus 在接口中 WxOpenMaServiceaction - 设置可访问状态,发布后默认可访问,close为不可见,open为可见WxErrorExceptionpublic WxOpenResult revertCodeReleaes() throws WxErrorException
revertCodeReleaes 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenResult undoCodeAudit() throws WxErrorException
单个帐号每天审核撤回次数最多不超过1次,一个月不超过10次。
undoCodeAudit 在接口中 WxOpenMaServiceWxErrorExceptionpublic String getSupportVersion() throws WxErrorException
getSupportVersion 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenMaWeappSupportVersionResult getSupportVersionInfo() throws WxErrorException
getSupportVersionInfo 在接口中 WxOpenMaServiceWxErrorExceptionpublic String setSupportVersion(String version) throws WxErrorException
setSupportVersion 在接口中 WxOpenMaServiceversion - WxErrorExceptionpublic WxOpenResult setSupportVersionInfo(String version) throws WxErrorException
setSupportVersionInfo 在接口中 WxOpenMaServiceversion - WxErrorExceptionpublic WxOpenResult grayrelease(Integer grayPercentage) throws WxErrorException
grayrelease 在接口中 WxOpenMaServicegrayPercentage - 灰度的百分比,1到100的整数WxErrorExceptionpublic WxOpenResult revertgrayrelease() throws WxErrorException
revertgrayrelease 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenMaGrayReleasePlanResult getgrayreleaseplan() throws WxErrorException
getgrayreleaseplan 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenMaQueryQuotaResult queryQuota() throws WxErrorException
queryQuota 在接口中 WxOpenMaServiceWxErrorExceptionpublic Boolean speedAudit(Long auditid) throws WxErrorException
speedAudit 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenResult addQrcodeJump(WxQrcodeJumpRule wxQrcodeJumpRule) throws WxErrorException
addQrcodeJump 在接口中 WxOpenMaServicewxQrcodeJumpRule - WxErrorExceptionpublic WxGetQrcodeJumpResult getQrcodeJump() throws WxErrorException
getQrcodeJump 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxDownlooadQrcodeJumpResult downloadQrcodeJump() throws WxErrorException
downloadQrcodeJump 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenResult deleteQrcodeJump(String prefix) throws WxErrorException
deleteQrcodeJump 在接口中 WxOpenMaServiceprefix - WxErrorExceptionpublic WxOpenResult publishQrcodeJump(String prefix) throws WxErrorException
publishQrcodeJump 在接口中 WxOpenMaServiceprefix - WxErrorExceptionCopyright © 2020. All rights reserved.