修改细节

This commit is contained in:
yezian 2024-05-16 20:41:17 +08:00
parent ea8c72fdd9
commit ec8e914c7f
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ export async function uploadVideo(asset) {
src_id: auth.directory + "/" + auth.filename, src_id: auth.directory + "/" + auth.filename,
cover_id: videoCoverId, cover_id: videoCoverId,
md5: md5, md5: md5,
dur: asset?.duration < 1 ? 1 : asset?.duration, dur: asset?.duration,
fmt: fileType, fmt: fileType,
}; };
const base = await baseRequest(); const base = await baseRequest();