适配最新web前端

This commit is contained in:
ACT丶流星雨 2026-02-26 15:29:42 +08:00
parent 539b14070c
commit 46ac187d96
3 changed files with 6 additions and 19 deletions

View File

@ -546,11 +546,11 @@ Toonflow 基于 AGPL-3.0 协议开源发布许可证详情https://www.gnu.
---
<!-- # ⭐️ 星标历史
# ⭐️ 星标历史
[![Star History Chart](https://api.star-history.com/svg?repos=HBAI-Ltd/Toonflow-app&type=date&legend=top-left)](https://www.star-history.com/#HBAI-Ltd/Toonflow-app&type=date&legend=top-left)
--- -->
---
# 🙏 致谢

View File

@ -8,6 +8,6 @@ export default router.post("/", async (req, res) => {
const configData = await u
.db("t_aiModelMap")
.leftJoin("t_config", "t_aiModelMap.configId", "t_config.id")
.select("t_aiModelMap.name", "t_config.model", "t_aiModelMap.id", "t_aiModelMap.key");
.select("t_aiModelMap.name", "t_config.model", "t_aiModelMap.id", "t_aiModelMap.key", "t_config.manufacturer");
res.status(200).send(success(configData));
});

View File

@ -1,19 +1,6 @@
// @db-hash 5a633f2d45df5d971905dd32c0ac9880
// @db-hash 945540586ca016b1b9a42042fc5ccbf3
//该文件由脚本自动生成,请勿手动修改
export interface _t_video_old_20260131 {
'configId'?: number | null;
'filePath'?: string | null;
'firstFrame'?: string | null;
'id'?: number;
'model'?: string | null;
'prompt'?: string | null;
'resolution'?: string | null;
'scriptId'?: number | null;
'state'?: number | null;
'storyboardImgs'?: string | null;
'time'?: number | null;
}
export interface t_aiModelMap {
'configId'?: number | null;
'id'?: number;
@ -52,7 +39,6 @@ export interface t_config {
'manufacturer'?: string | null;
'model'?: string | null;
'modelType'?: string | null;
'name'?: string | null;
'type'?: string | null;
'userId'?: number | null;
}
@ -139,6 +125,7 @@ export interface t_user {
export interface t_video {
'aiConfigId'?: number | null;
'configId'?: number | null;
'errorReason'?: string | null;
'filePath'?: string | null;
'firstFrame'?: string | null;
'id'?: number;
@ -151,6 +138,7 @@ export interface t_video {
'time'?: number | null;
}
export interface t_videoConfig {
'aiConfigId'?: number | null;
'audioEnabled'?: number | null;
'createTime'?: number | null;
'duration'?: number | null;
@ -170,7 +158,6 @@ export interface t_videoConfig {
}
export interface DB {
"_t_video_old_20260131": _t_video_old_20260131;
"t_aiModelMap": t_aiModelMap;
"t_assets": t_assets;
"t_chatHistory": t_chatHistory;