file.js 576 Bytes
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-05-06 16:25:08
 */
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('sbApiUrl'))
/* 引入配置 */
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
    })
}