修正版本号

This commit is contained in:
zhishi 2026-03-16 22:57:26 +08:00
parent 00abf9ae2f
commit 7076db4a54
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "toonflow-app",
"version": "1.0.7-patch3",
"version": "1.0.7",
"description": "Toonflow 是一款 AI 短剧漫剧工具,能够利用 AI 技术将小说自动转化为剧本,并结合 AI 生成的图片和视频,实现高效的短剧创作。",
"author": "HBAI-Ltd <ltlctools@outlook.com>",
"homepage": "https://github.com/HBAI-Ltd/Toonflow-app#readme",

View File

@ -105,7 +105,7 @@ export default async (knex: Knex): Promise<void> => {
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<void> => {
]);
}
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();