no message

This commit is contained in:
USER-20220102CG\noblelift
2023-03-27 09:10:46 +08:00
parent 2a49fee9e8
commit 87d6c0f8d1
1320 changed files with 0 additions and 125238 deletions

View File

@@ -1,11 +0,0 @@
import axios from 'axios'
import { getToken } from '@/utils/auth'
export function upload(api, file) {
var data = new FormData()
data.append('file', file)
const config = {
headers: { 'Authorization': getToken() }
}
return axios.post(api, data, config)
}