no message

This commit is contained in:
zhishi 2026-03-31 19:36:35 +08:00
parent 36d985b23d
commit b26605a1d0
2 changed files with 5 additions and 17 deletions

View File

@ -14,6 +14,9 @@ export default router.post(
async (req, res) => { async (req, res) => {
const { id } = req.body; const { id } = req.body;
await u.db("o_script").whereIn("id", id).delete(); await u.db("o_script").whereIn("id", id).delete();
await u.db("o_assets2Script").whereIn("scriptId", id).delete();
await u.db("o_storyboard").whereIn("scriptId", id).delete();
await u.db("o_video").whereIn("scriptId", id).delete();
res.status(200).send(success({ message: "删除剧本成功" })); res.status(200).send(success({ message: "删除剧本成功" }));
}, },
); );

View File

@ -1,20 +1,6 @@
// @db-hash 125ad64f9dc929a01dd6bfb955f16031 // @db-hash d1fbadf1691063f5a730337685fd85b1
//该文件由脚本自动生成,请勿手动修改 //该文件由脚本自动生成,请勿手动修改
export interface _o_project_old_20260331 {
'artStyle'?: string | null;
'createTime'?: number | null;
'id'?: number | null;
'imageModel'?: string | null;
'imageQuality'?: string | null;
'intro'?: string | null;
'name'?: string | null;
'projectType'?: string | null;
'type'?: string | null;
'userId'?: number | null;
'videoModel'?: string | null;
'videoRatio'?: string | null;
}
export interface memories { export interface memories {
'content': string; 'content': string;
'createTime': number; 'createTime': number;
@ -87,6 +73,7 @@ export interface o_image {
'filePath'?: string | null; 'filePath'?: string | null;
'id'?: number; 'id'?: number;
'model'?: string | null; 'model'?: string | null;
'reason'?: string | null;
'resolution'?: string | null; 'resolution'?: string | null;
'state'?: string | null; 'state'?: string | null;
'type'?: string | null; 'type'?: string | null;
@ -127,7 +114,6 @@ export interface o_project {
'imageModel'?: string | null; 'imageModel'?: string | null;
'imageQuality'?: string | null; 'imageQuality'?: string | null;
'intro'?: string | null; 'intro'?: string | null;
'mode'?: string | null;
'name'?: string | null; 'name'?: string | null;
'projectType'?: string | null; 'projectType'?: string | null;
'type'?: string | null; 'type'?: string | null;
@ -249,7 +235,6 @@ export interface o_videoConfig {
} }
export interface DB { export interface DB {
"_o_project_old_20260331": _o_project_old_20260331;
"memories": memories; "memories": memories;
"o_agentDeploy": o_agentDeploy; "o_agentDeploy": o_agentDeploy;
"o_agentWorkData": o_agentWorkData; "o_agentWorkData": o_agentWorkData;