@Test public void testGetLatestAuditStatus() throws Exception { WxMaCodeAuditStatus auditStatus = wxService.getCodeService().getLatestAuditStatus(); System.out.println(auditStatus); assertNotNull(auditStatus); }
@Override public WxMaCodeAuditStatus getLatestAuditStatus() throws WxErrorException { String responseContent = this.wxMaService.get(GET_LATEST_AUDIT_STATUS_URL, null); return WxMaCodeAuditStatus.fromJson(responseContent); }
WxMaCodeServiceImpl implements WxMaCodeService { @Override public WxMaCodeAuditStatus getLatestAuditStatus() throws WxErrorException { String responseContent = this.wxMaService.get(GET_LATEST_AUDIT_STATUS_URL, null); return WxMaCodeAuditStatus.fromJson(responseContent); } }
WxMaCodeServiceImpl implements WxMaCodeService { @Override public WxMaCodeAuditStatus getLatestAuditStatus() throws WxErrorException { String responseContent = this.wxMaService.get(GET_LATEST_AUDIT_STATUS_URL, null); return WxMaCodeAuditStatus.fromJson(responseContent); } WxMaCodeServiceImpl(WxMaService wxMaService); }
WxMaCodeServiceImpl implements WxMaCodeService { @Override public WxMaCodeAuditStatus getLatestAuditStatus() throws WxErrorException { String responseContent = this.wxMaService.get(GET_LATEST_AUDIT_STATUS_URL, null); return WxMaCodeAuditStatus.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 WxMaCodeAuditStatus getLatestAuditStatus() throws WxErrorException { String responseContent = this.wxMaService.get(GET_LATEST_AUDIT_STATUS_URL, null); return WxMaCodeAuditStatus.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();  }