class WxMpSubscribeMsgServiceImpl implements WxMpSubscribeMsgService {

  @Override
  public boolean sendSubscribeMessage(WxMpSubscribeMessage message) throws WxErrorException {
    if (message.getTemplateId() == null) {
      message.setTemplateId(this.wxMpService.getWxMpConfigStorage().getTemplateId());
    }

    String responseContent = this.wxMpService.post(SEND_MESSAGE_URL, message.toJson());
    return responseContent != null;
  }

  public  WxMpSubscribeMsgServiceImpl(WxMpService wxMpService);

}