file.js
584 Bytes
/*
* @Description: xml导入
* @Autor: renchao
* @LastEditTime: 2023-05-06 16:25:08
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
/* 引入配置 */
const urlHeader = SERVER.SERVERAPI + '/rest/sjsb/DataReport/storage'
/**
* @description: xml导入
* @param {*} data
* @author: renchao
*/
export function storage (data) {
return request({
url: urlHeader,
headers: {
'Content-Type': 'multipart/form-data'
},
method: 'post',
data
})
}