code: async function buildRequest(method, url, params, options) {
    let param = {};
    let config = {};
    if (noneBodyMethod.indexOf(method) >= 0) {
      param = { params: { ...params }, ...reqConfig, ...options };
    } else {
      param = JSON.stringify(params);
      config = {
        ...reqConfig,
        headers: {
          'Content-Type': 'application/json',
          ...csrfConfig,
        },
      };
      config = Object.assign({}, config, options);
    }
    return axios[method](url, param, config);
  }
docs: Build uniform request