import { axios } from '@/utils/request'
import { stringify } from 'qs'

/**
 * add batch func
 * parameter: { }
 * @param parameter
 * @returns {*}
 */
export function importExcel (parameter) {
  return axios({
    url: '/excel/import',
    method: 'POST',
    headers: {
      'Accept': 'application/json',
      'Content-Type': 'application/json;charset=UTF-8'
    },
    data: parameter
  })
}
