修改细节
This commit is contained in:
parent
ea8c72fdd9
commit
ec8e914c7f
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue