public class WxOpenMaServiceImpl extends WxMaServiceImpl implements WxOpenMaService
增加开放平台代小程序管理服务能力
说明:这里让这个服务公开便于调用者模拟本地测试服务
, yqxGSONAPI_BIND_TESTER, API_CHANGE_VISITSTATUS, 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_TESTERLIST, API_GET_WEAPP_SUPPORT_VERSION, API_GRAY_RELEASE, API_MODIFY_DOMAIN, API_RELEASE, API_REVERT_CODE_RELEASE, API_REVERT_GRAY_RELEASE, API_SET_WEAPP_SUPPORT_VERSION, API_SET_WEBVIEW_DOMAIN, API_SUBMIT_AUDIT, API_TEST_QRCODE, API_UNBIND_TESTER, API_UNDO_CODE_AUDITGET_ACCESS_TOKEN_URL, GET_PAID_UNION_ID_URL, JSCODE_TO_SESSION_URL| 构造器和说明 |
|---|
WxOpenMaServiceImpl(WxOpenComponentService wxOpenComponentService,
String appId,
WxMaConfig wxMaConfig) |
checkSignature, execute, get, getAccessToken, getAnalysisService, getCodeService, getJsapiService, getMediaService, getMsgService, getPaidUnionId, getQrcodeService, getRequestHttp, getRequestHttpClient, getRequestHttpProxy, getRequestType, getRunService, getSecCheckService, getSettingService, getShareService, getTemplateService, getUserService, initHttp, post, setMaxRetryTimes, setRetrySleepMillis, setWxMaConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSignature, execute, get, getAccessToken, getAnalysisService, getCodeService, getJsapiService, getMediaService, getMsgService, getPaidUnionId, getQrcodeService, getRequestHttp, getRunService, getSecCheckService, getSettingService, getShareService, getTemplateService, getUserService, initHttp, post, 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 String setWebViewDomain(String action, List<String> domainList) throws WxErrorException
setWebViewDomain 在接口中 WxOpenMaServiceaction - add添加, delete删除, set覆盖domainList - WxErrorExceptionpublic String getAccountBasicInfo() throws WxErrorException
注意:这里不能直接用小程序的access_token
//TODO 待调整
getAccountBasicInfo 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenResult bindTester(String wechatid) throws WxErrorException
bindTester 在接口中 WxOpenMaServicewechatid - 体验者微信号(不是openid)WxErrorExceptionpublic WxOpenResult unbindTester(String wechatid) throws WxErrorException
unbindTester 在接口中 WxOpenMaServicewechatid - 体验者微信号(不是openid)WxErrorExceptionpublic WxOpenMaTesterListResult getTesterList() throws WxErrorException
getTesterList 在接口中 WxOpenMaServiceWxErrorExceptionpublic 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 revertCodeReleaes() throws WxErrorException
revertCodeReleaes 在接口中 WxOpenMaServiceWxErrorExceptionpublic WxOpenResult undoCodeAudit() throws WxErrorException
单个帐号每天审核撤回次数最多不超过1次,一个月不超过10次。
undoCodeAudit 在接口中 WxOpenMaServiceWxErrorExceptionpublic String getSupportVersion() throws WxErrorException
getSupportVersion 在接口中 WxOpenMaServiceWxErrorExceptionpublic String setSupportVersion(String version) throws WxErrorException
setSupportVersion 在接口中 WxOpenMaServiceversion - WxErrorExceptionCopyright © 2019. All rights reserved.