mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 05:39:38 +08:00
优化资源的分类提交
This commit is contained in:
@@ -17,7 +17,7 @@ import { minioMergeVideo, minioUploadId } from "../../api/upload";
|
||||
import { UploadChunk } from "../../js/minio-upload-chunk";
|
||||
|
||||
interface PropsInterface {
|
||||
categoryId: number;
|
||||
categoryIds: number[];
|
||||
onUpdate: () => void;
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ export const UploadVideoButton = (props: PropsInterface) => {
|
||||
minioMergeVideo(
|
||||
item.filename,
|
||||
item.uploadId,
|
||||
props.categoryId,
|
||||
props.categoryIds.join(','),
|
||||
item.name,
|
||||
"mp4",
|
||||
item.size,
|
||||
|
||||
Reference in New Issue
Block a user