code: public static Map<String, String> getUrlParams(String param) {
          Map<String, String> map = new HashMap<String, String>();
          if (StringUtils.isEmpty(param)) {
              return map;
          }
          String[] params = param.split("&");
          for (int i = 0; i < params.length; i++) {
              String[] p = params[i].split("=");
              if (p.length == 2) {
                  map.put(p[0], p[1]);
              }
          }
          return map;
      }
docs: 将url参数转换成map
  @param  param [ellipsis]
  @return 参数Map