import upload from '@/utils/upload' import request from '@/utils/request' // 上传 export function uploadFile(data) { console.log(data) return upload({ url: '/infra/file/upload', method: 'PUT', filePath:data.filePath, name: data.name }) }