上传优化

This commit is contained in:
bb_pan 2025-08-20 13:12:58 +08:00
parent 2cefc795da
commit 5343b10d94
1 changed files with 9 additions and 3 deletions

View File

@ -8,7 +8,9 @@ export function imgUpLoad(param){
url: '/system/sys/file/upload',
method: 'post',
data: formData,
header:'multipart/form-data'
headers: {
'Content-Type': 'multipart/form-data',
}
})
}
@ -20,7 +22,9 @@ export function imgUpLoad(param){
url: '/file/upload',
method: 'post',
data: formData,
header:'multipart/form-data'
headers: {
'Content-Type': 'multipart/form-data',
}
})
}
@ -34,7 +38,9 @@ export function imgUpLoad(param){
url: '/file/uploadFiles',
method: 'post',
data: formData,
header:'multipart/form-data'
headers: {
'Content-Type': 'multipart/form-data',
}
})
}