@Test public void testMassDelete() throws Exception { this.wxService.getMassMessageService().delete(1L,2); }
@Override public void delete(Long msgId, Integer articleIndex) throws WxErrorException { JsonObject jsonObject = new JsonObject(); jsonObject.addProperty("msg_id", msgId); jsonObject.addProperty("article_idx", articleIndex); this.wxMpService.post(MESSAGE_MASS_DELETE_URL, jsonObject.toString()); }
WxMpMassMessageServiceImpl implements WxMpMassMessageService { @Override public void delete(Long msgId, Integer articleIndex) throws WxErrorException { JsonObject jsonObject = new JsonObject(); jsonObject.addProperty("msg_id", msgId); jsonObject.addProperty("article_idx", articleIndex); this.wxMpService.post(MESSAGE_MASS_DELETE_URL, jsonObject.toString()); } }
WxMpMassMessageServiceImpl implements WxMpMassMessageService { @Override public void delete(Long msgId, Integer articleIndex) throws WxErrorException { JsonObject jsonObject = new JsonObject(); jsonObject.addProperty("msg_id", msgId); jsonObject.addProperty("article_idx", articleIndex); this.wxMpService.post(MESSAGE_MASS_DELETE_URL, jsonObject.toString()); } WxMpMassMessageServiceImpl(WxMpService wxMpService); }
WxMpMassMessageServiceImpl implements WxMpMassMessageService { @Override public void delete(Long msgId, Integer articleIndex) throws WxErrorException { JsonObject jsonObject = new JsonObject(); jsonObject.addProperty("msg_id", msgId); jsonObject.addProperty("article_idx", articleIndex); this.wxMpService.post(MESSAGE_MASS_DELETE_URL, jsonObject.toString()); } WxMpMassMessageServiceImpl(WxMpService wxMpService); @Override WxMpMassUploadResult massNewsUpload(WxMpMassNews news); @Override WxMpMassUploadResult massVideoUpload(WxMpMassVideo video); @Override WxMpMassSendResult massGroupMessageSend(WxMpMassTagMessage message); @Override WxMpMassSendResult massOpenIdsMessageSend(WxMpMassOpenIdsMessage message); @Override WxMpMassSendResult massMessagePreview(WxMpMassPreviewMessage wxMpMassPreviewMessage); @Override void delete(Long msgId, Integer articleIndex); }
WxMpMassMessageServiceImpl implements WxMpMassMessageService { @Override public void delete(Long msgId, Integer articleIndex) throws WxErrorException { JsonObject jsonObject = new JsonObject(); jsonObject.addProperty("msg_id", msgId); jsonObject.addProperty("article_idx", articleIndex); this.wxMpService.post(MESSAGE_MASS_DELETE_URL, jsonObject.toString()); } WxMpMassMessageServiceImpl(WxMpService wxMpService); @Override WxMpMassUploadResult massNewsUpload(WxMpMassNews news); @Override WxMpMassUploadResult massVideoUpload(WxMpMassVideo video); @Override WxMpMassSendResult massGroupMessageSend(WxMpMassTagMessage message); @Override WxMpMassSendResult massOpenIdsMessageSend(WxMpMassOpenIdsMessage message); @Override WxMpMassSendResult massMessagePreview(WxMpMassPreviewMessage wxMpMassPreviewMessage); @Override void delete(Long msgId, Integer articleIndex);  }