bjang03
7 months ago
3 changed files with 13 additions and 25 deletions
@ -1,11 +0,0 @@ |
|||||
import upload from '@/api/uploadHttp' |
|
||||
// import request from '@/utils/request'
|
|
||||
// 上传
|
|
||||
export function uploadFile(data) { |
|
||||
return upload({ |
|
||||
url: '/infra/file/upload', |
|
||||
method: 'post', |
|
||||
filePath:data.filePath, |
|
||||
name: data.name |
|
||||
}) |
|
||||
} |
|
Loading…
Reference in new issue