public class WxMaCodeServiceImpl extends Object implements WxMaCodeService
CHANGE_VISIT_STATUS_URL, COMMIT_URL, GET_AUDIT_STATUS_URL, GET_CATEGORY_URL, GET_LATEST_AUDIT_STATUS_URL, GET_PAGE_URL, GET_QRCODE_URL, GET_SUPPORT_VERSION_URL, RELEASE_URL, REVERT_CODE_RELEASE_URL, SET_SUPPORT_VERSION_URL, SUBMIT_AUDIT_URL, UNDO_CODE_AUDIT_URL| 构造器和说明 | 
|---|
| WxMaCodeServiceImpl(WxMaService wxMaService) | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| void | changeVisitStatus(String action)修改小程序线上代码的可见状态(仅供第三方代小程序调用) | 
| void | commit(WxMaCodeCommitRequest commitRequest)为授权的小程序帐号上传小程序代码(仅仅支持第三方开放平台) | 
| WxMaCodeAuditStatus | getAuditStatus(long auditId)查询某个指定版本的审核状态(仅供第三方代小程序调用) | 
| List<WxMaCategory> | getCategory()获取授权小程序帐号的可选类目 | 
| WxMaCodeAuditStatus | getLatestAuditStatus()查询最新一次提交的审核状态(仅供第三方代小程序调用) | 
| List<String> | getPage()获取小程序的第三方提交代码的页面配置(仅供第三方开发者代小程序调用) | 
| byte[] | getQrCode()获取体验小程序的体验二维码 | 
| WxMaCodeVersionDistribution | getSupportVersion()查询当前设置的最低基础库版本及各版本用户占比 (仅供第三方代小程序调用) | 
| void | release()发布已通过审核的小程序(仅供第三方代小程序调用) | 
| void | revertCodeRelease()小程序版本回退(仅供第三方代小程序调用) | 
| void | setSupportVersion(String version)设置最低基础库版本(仅供第三方代小程序调用) | 
| long | submitAudit(WxMaCodeSubmitAuditRequest auditRequest)将第三方提交的代码包提交审核(仅供第三方开发者代小程序调用) | 
| void | undoCodeAudit()小程序审核撤回
 单个帐号每天审核撤回次数最多不超过1次,一个月不超过10次 | 
public WxMaCodeServiceImpl(WxMaService wxMaService)
public void commit(WxMaCodeCommitRequest commitRequest) throws WxErrorException
WxMaCodeServicecommit 在接口中 WxMaCodeServicecommitRequest - 参数WxErrorException - 上传失败时抛出,具体错误码请看类注释文档public byte[] getQrCode()
                 throws WxErrorException
WxMaCodeServicegetQrCode 在接口中 WxMaCodeServiceWxErrorException - 上传失败时抛出,具体错误码请看类注释文档public List<WxMaCategory> getCategory() throws WxErrorException
WxMaCodeServicegetCategory 在接口中 WxMaCodeServiceWxErrorException - 获取失败时返回,具体错误码请看此接口的注释文档public List<String> getPage() throws WxErrorException
WxMaCodeServicegetPage 在接口中 WxMaCodeServiceWxErrorException - 获取失败时返回,具体错误码请看此接口的注释文档public long submitAudit(WxMaCodeSubmitAuditRequest auditRequest) throws WxErrorException
WxMaCodeServicesubmitAudit 在接口中 WxMaCodeServiceauditRequest - 提交审核参数WxErrorException - 提交失败时返回,具体错误码请看此接口的注释文档public WxMaCodeAuditStatus getAuditStatus(long auditId) throws WxErrorException
WxMaCodeServicegetAuditStatus 在接口中 WxMaCodeServiceauditId - 提交审核时获得的审核idWxErrorException - 查询失败时返回,具体错误码请看此接口的注释文档public WxMaCodeAuditStatus getLatestAuditStatus() throws WxErrorException
WxMaCodeServicegetLatestAuditStatus 在接口中 WxMaCodeServiceWxErrorException - 查询失败时返回,具体错误码请看此接口的注释文档public void release()
             throws WxErrorException
WxMaCodeServicerelease 在接口中 WxMaCodeServiceWxErrorException - 发布失败时抛出,具体错误码请看此接口的注释文档public void changeVisitStatus(String action) throws WxErrorException
WxMaCodeServicechangeVisitStatus 在接口中 WxMaCodeServiceaction - 设置可访问状态,发布后默认可访问,close为不可见,open为可见WxErrorException - 发布失败时抛出,具体错误码请看此接口的注释文档public void revertCodeRelease()
                       throws WxErrorException
WxMaCodeServicerevertCodeRelease 在接口中 WxMaCodeServiceWxErrorException - 失败时抛出,具体错误码请看此接口的注释文档public WxMaCodeVersionDistribution getSupportVersion() throws WxErrorException
WxMaCodeServicegetSupportVersion 在接口中 WxMaCodeServiceWxErrorException - 失败时抛出,具体错误码请看此接口的注释文档public void setSupportVersion(String version) throws WxErrorException
WxMaCodeServicesetSupportVersion 在接口中 WxMaCodeServiceversion - 版本WxErrorException - 失败时抛出,具体错误码请看此接口的注释文档public void undoCodeAudit()
                   throws WxErrorException
WxMaCodeServiceundoCodeAudit 在接口中 WxMaCodeServiceWxErrorException - 失败时抛出,具体错误码请看此接口的注释文档Copyright © 2018. All rights reserved.