@Test public void testGetSupportVersion() throws Exception { WxMaCodeVersionDistribution distribution = wxService.getCodeService().getSupportVersion(); System.out.println(distribution); }
@Override public WxMaCodeVersionDistribution getSupportVersion() throws WxErrorException { String responseContent = this.wxMaService.post(GET_SUPPORT_VERSION_URL, "{}"); return WxMaCodeVersionDistribution.fromJson(responseContent); }
WxMaCodeServiceImpl implements WxMaCodeService { @Override public WxMaCodeVersionDistribution getSupportVersion() throws WxErrorException { String responseContent = this.wxMaService.post(GET_SUPPORT_VERSION_URL, "{}"); return WxMaCodeVersionDistribution.fromJson(responseContent); } }
WxMaCodeServiceImpl implements WxMaCodeService { @Override public WxMaCodeVersionDistribution getSupportVersion() throws WxErrorException { String responseContent = this.wxMaService.post(GET_SUPPORT_VERSION_URL, "{}"); return WxMaCodeVersionDistribution.fromJson(responseContent); } WxMaCodeServiceImpl(WxMaService wxMaService); }
WxMaCodeServiceImpl implements WxMaCodeService { @Override public WxMaCodeVersionDistribution getSupportVersion() throws WxErrorException { String responseContent = this.wxMaService.post(GET_SUPPORT_VERSION_URL, "{}"); return WxMaCodeVersionDistribution.fromJson(responseContent); } WxMaCodeServiceImpl(WxMaService wxMaService); @Override void commit(WxMaCodeCommitRequest commitRequest); @Override byte[] getQrCode(); @Override List<WxMaCategory> getCategory(); @Override List<String> getPage(); @Override long submitAudit(WxMaCodeSubmitAuditRequest auditRequest); @Override WxMaCodeAuditStatus getAuditStatus(long auditId); @Override WxMaCodeAuditStatus getLatestAuditStatus(); @Override void release(); @Override void changeVisitStatus(String action); @Override void revertCodeRelease(); @Override WxMaCodeVersionDistribution getSupportVersion(); @Override void setSupportVersion(String version); @Override void undoCodeAudit(); }
WxMaCodeServiceImpl implements WxMaCodeService { @Override public WxMaCodeVersionDistribution getSupportVersion() throws WxErrorException { String responseContent = this.wxMaService.post(GET_SUPPORT_VERSION_URL, "{}"); return WxMaCodeVersionDistribution.fromJson(responseContent); } WxMaCodeServiceImpl(WxMaService wxMaService); @Override void commit(WxMaCodeCommitRequest commitRequest); @Override byte[] getQrCode(); @Override List<WxMaCategory> getCategory(); @Override List<String> getPage(); @Override long submitAudit(WxMaCodeSubmitAuditRequest auditRequest); @Override WxMaCodeAuditStatus getAuditStatus(long auditId); @Override WxMaCodeAuditStatus getLatestAuditStatus(); @Override void release(); @Override void changeVisitStatus(String action); @Override void revertCodeRelease(); @Override WxMaCodeVersionDistribution getSupportVersion(); @Override void setSupportVersion(String version); @Override void undoCodeAudit();  }