更新最新ACS

This commit is contained in:
USER-20220102CG\noblelift
2023-03-21 20:24:04 +08:00
parent e181a4a6e7
commit c5077035c1
1456 changed files with 144839 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
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)
}