bjang03
6 months ago
1 changed files with 11 additions and 0 deletions
@ -0,0 +1,11 @@ |
|||
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