feat: 视频上传
This commit is contained in:
@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user