code: public GetSignatureResponse getSignature(String nonceStr, long timestame, String url) {
          BeanUtil.requireNonNull(url, "请传入当前网页的URL，不包含#及其后面部分");
          GetSignatureResponse response = new GetSignatureResponse();
          String jsApiTicket = this.config.getJsApiTicket();
          String sign;
          try {
              sign = JsApiUtil.sign(jsApiTicket, nonceStr, timestame, url);
          } catch (Exception e) {
              LOG.error("获取签名异常:", e);
              response.setErrcode(ResultType.OTHER_ERROR.getCode().toString());
              response.setErrmsg("获取签名异常");
              return response;
          }
          response.setNoncestr(nonceStr);
          response.setSignature(sign);
          response.setTimestamp(timestame);
          response.setUrl(url);
          response.setErrcode(ResultType.SUCCESS.getCode().toString());
          return response;
      }
docs: 获取js-sdk所需的签名，给调用者最大的自由度，控制生成签名的参数
  @param nonceStr 随机字符串
  @param timestame 时间戳
  @param url 当前网页的URL，不包含#及其后面部分
  @return 签名以及相关参数