From 7076db4a54f9bb1b14fc7f718a3f1a54a5e70dc8 Mon Sep 17 00:00:00 2001 From: zhishi <1951671751@qq.com> Date: Mon, 16 Mar 2026 22:57:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/lib/fixDB.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index b865c14..3a12a28 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "toonflow-app", - "version": "1.0.7-patch3", + "version": "1.0.7", "description": "Toonflow 是一款 AI 短剧漫剧工具,能够利用 AI 技术将小说自动转化为剧本,并结合 AI 生成的图片和视频,实现高效的短剧创作。", "author": "HBAI-Ltd ", "homepage": "https://github.com/HBAI-Ltd/Toonflow-app#readme", diff --git a/src/lib/fixDB.ts b/src/lib/fixDB.ts index ebe9d38..47e5963 100644 --- a/src/lib/fixDB.ts +++ b/src/lib/fixDB.ts @@ -105,7 +105,7 @@ export default async (knex: Knex): Promise => { await knex("t_aiModelMap").insert(needInsert); } const viduVideototal = await knex("t_videoModel").where("manufacturer", "vidu").count({ count: "*" }); - console.log("%c Line:108 🍷 viduVideototal", "background:#fca650", viduVideototal); + const viduCount = Number(viduVideototal[0].count); if (viduCount > 5) { await knex("t_videoModel").where("manufacturer", "vidu").delete(); @@ -158,7 +158,7 @@ export default async (knex: Knex): Promise => { ]); } const klingVideototal = await knex("t_videoModel").where("manufacturer", "kling").count({ count: "*" }); - console.log("%c Line:161 🍋 klingVideototal", "background:#93c0a4", klingVideototal); + const kelingcount = Number(klingVideototal[0].count); if (kelingcount > 5) { await knex("t_videoModel").where("manufacturer", "kling").delete();