code: function assembleHttp(urlVal) {
    if (typeof urlVal === 'string') {
      urlVal = {
        url: urlVal,
        method: 'post'
      };
    }
  
    urlVal.url = fillBaseUrl(urlVal.url, urlVal.baseUrl);
  
    return (params = {}, config = {}) => {
      config = deepMerge.all([defaultConf, urlVal, config || {}]);
  
      if (['post', 'put', 'patch'].indexOf(config.method) > -1) {
        config.data = params;
      } else {
        config.params = params;
      }
  
      return http(config).then(response => response.data);
    };
  }
docs: 组装http请求
  @param  {[type]} urlVal [description]
  @return {[type]}        [description]