fix : 修复路由规范问题

This commit is contained in:
2024-05-14 20:26:33 +08:00
parent 2ad94511d0
commit 27dcca6617
12 changed files with 1219 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
import request from '@/utils/request'
export const fileUp = (url, data) => {
return request({
url,
method: 'post',
data,
headers: {
'Content-Type': 'multipart/form-data'
}
})
}