class WxMpCardServiceImpl implements WxMpCardService {

  @Override
  public WxMpCardDeleteResult deleteCard(String cardId) throws WxErrorException {
    if (StringUtils.isEmpty(cardId)) {
      throw new WxErrorException(WxError.builder().errorCode(41012).errorMsg("cardId不能为空").build());
    }
    JsonObject param = new JsonObject();
    param.addProperty("card_id", cardId);
    String response = this.wxMpService.post(CARD_DELETE, param.toString());
    return WxMpCardDeleteResult.fromJson(response);
  }

  public  WxMpCardServiceImpl(WxMpService wxMpService);

}