更新依赖和一些基础的功能

This commit is contained in:
2025-05-15 21:24:56 +08:00
parent 6b9faa702b
commit 7efc3dfd67
12 changed files with 1297 additions and 43 deletions

10
src/api/request/upload.js Normal file
View File

@@ -0,0 +1,10 @@
import {upload} from '../request.js'
const prefix = 'upload'
export function uploadImageApi(credentials) {
return upload(`${prefix}/image`, credentials)
}
export function uploadVideoApi(credentials) {
return upload(`${prefix}/video`, credentials)
}