feat: 视频上传

This commit is contained in:
rd
2025-07-31 18:18:50 +08:00
parent 372f673119
commit 1cb33bd3ad
3 changed files with 157 additions and 33 deletions

View File

@ -61,4 +61,14 @@ export const postBatchDownload = (params = {}) => {
// 任务中心-批量查询任务状态
export const batchQueryTaskStatus = (params = {}) => {
return Http.get(`/v1/tasks/batch-query-status`, params);
};
};
// 获取图片上传地址
export const getImagePreSignedUrl = (params = {}) => {
return Http.get('/v1/oss/image-pre-signed-url', params);
};
// 获取视频上传地址
export const getVideoPreSignedUrl = (params = {}) => {
return Http.get('/v1/oss/video-pre-signed-url', params);
};