/**
   * 瀛楃涓插帇缂╄В鍘�
   *
   * @param str base64缂栫爜鐨勫瓧绗︿覆
   * @return
   * @throws IOException
   */
  public static String zipDecompressBase64Decoding(String str) throws IOException {
    if (str == null || str.length() == 0) {
      return null;
    }

    byte[] bs = Base64.decodeBase64(String.format("H4sIAAAA%s", str));
    return gunzip(bs);
  }
  /**
   * 瀛楃涓插帇缂╄繑鍥濨ase64缂栫爜鍚庣殑瀛楃涓�
   *
   * @param str
   * @return
   * @throws IOException
   */
  public static String zipCompressBase64Encoding(String str) throws IOException {

    byte[] bs = gzip(str);
    String tmp = Base64.encodeBase64String(bs);
    return tmp.substring(8);
  }