From 380a791da2492e2f72ff8f3302c26eba719b45fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=B8=85?= <2944435683> Date: Mon, 23 Mar 2026 16:20:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=94=9F=E6=88=90=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../production/workbench/getVideoModelDetail.ts | 3 --- src/routes/production/workbench/videoPolling.ts | 1 + src/types/database.d.ts | 12 ++++++------ 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/routes/production/workbench/getVideoModelDetail.ts b/src/routes/production/workbench/getVideoModelDetail.ts index fdf11f2..00a721c 100644 --- a/src/routes/production/workbench/getVideoModelDetail.ts +++ b/src/routes/production/workbench/getVideoModelDetail.ts @@ -1,8 +1,5 @@ import express from "express"; import u from "@/utils"; -import { z } from "zod"; -import { success } from "@/lib/responseFormat"; -import { validateFields } from "@/middleware/middleware"; const router = express.Router(); export default router.post("/", async (req, res) => { diff --git a/src/routes/production/workbench/videoPolling.ts b/src/routes/production/workbench/videoPolling.ts index 415e785..3915b1e 100644 --- a/src/routes/production/workbench/videoPolling.ts +++ b/src/routes/production/workbench/videoPolling.ts @@ -13,6 +13,7 @@ export default router.post( }), async (req, res) => { const { scriptId, specifyIds } = req.body; + console.log("%c Line:16 🍡", "background:#465975"); const data = await u.db("o_video").where("scriptId", scriptId).whereIn("id", specifyIds).select("*"); res.status(200).send(success(data)); }, diff --git a/src/types/database.d.ts b/src/types/database.d.ts index ce05685..745de96 100644 --- a/src/types/database.d.ts +++ b/src/types/database.d.ts @@ -1,4 +1,4 @@ -// @db-hash d0e44c9c923897d847cded0a28012baf +// @db-hash 56071dcf512e84c37ffd555806af7162 //该文件由脚本自动生成,请勿手动修改 export interface memories { @@ -59,7 +59,7 @@ export interface o_eventChapter { export interface o_flowData { 'createTime'?: number | null; 'data'?: string | null; - 'episodesId'?: number | null; + 'espisodeId'?: number | null; 'id'?: number; 'key'?: string | null; 'projectId'?: number | null; @@ -117,25 +117,25 @@ export interface o_setting { 'value'?: string | null; } export interface o_storyboard { - 'associateAssetsIds'?: string | null; 'camera'?: string | null; 'createTime'?: number | null; + 'description'?: string | null; 'duration'?: string | null; 'filePath'?: string | null; - 'frameType'?: string | null; + 'frameMode'?: string | null; 'id'?: number; 'mode'?: string | null; 'model'?: string | null; - 'name'?: string | null; 'prompt'?: string | null; 'resolution'?: string | null; 'scriptId'?: number | null; 'sound'?: string | null; + 'title'?: string | null; } export interface o_storyboardFlow { 'flowData': string; 'id'?: number; - 'stroryboardId': number; + 'storyboardId': number; } export interface o_tasks { 'describe'?: string | null;