生成成功替换分镜视频
This commit is contained in:
parent
9dfb7b91df
commit
7581ed5607
@ -118,6 +118,7 @@ export default router.post(
|
|||||||
});
|
});
|
||||||
await aiVideo.save(videoPath);
|
await aiVideo.save(videoPath);
|
||||||
await u.db("o_video").where("id", videoId).update({ state: "生成成功" });
|
await u.db("o_video").where("id", videoId).update({ state: "生成成功" });
|
||||||
|
await u.db("o_videoConfig").where("storyboardId", storyboardId).update({ videoId, updateTime: Date.now() });
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
await u
|
await u
|
||||||
.db("o_video")
|
.db("o_video")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user