cb56698836
- 新增 Tauri 自动更新(updater 插件) - Rust: 集成 tauri-plugin-updater + tauri-plugin-process - 后端: app_releases / release_packages 表 + /update/check API - 前端: UpdateDialog 组件 + useUpdater hook + SystemUpdate 手动检查 - 发版脚本: scripts/publish_release.py(扫描 .sig → 上传七牛云 → 写入数据库) - 配置 test 环境域名 dev.tapi.meijiaka.cn - 草稿箱删除功能 - DraftListItem 添加删除按钮 - MyWorks 添加删除确认弹窗 + localProjectApi.deleteProject 调用 - 创作主题分类本地缓存 - scriptApi.getCategoriesCached() 先读 localStorage 再静默刷新 - TermsModal tab 居中 - 更新应用图标(Big Sur 风格圆角矩形) - 清理: 删除未使用文件 create_user.py / video-replace-mvp.py / DEPS_*.md
64 lines
1.5 KiB
Python
64 lines
1.5 KiB
Python
"""
|
|
API v1 路由聚合
|
|
==============
|
|
"""
|
|
|
|
from fastapi import APIRouter
|
|
|
|
from app.api.v1 import (
|
|
auth,
|
|
caption,
|
|
cover_background,
|
|
events,
|
|
materials,
|
|
points,
|
|
script,
|
|
system,
|
|
tasks,
|
|
update,
|
|
upload,
|
|
vidu,
|
|
voice,
|
|
)
|
|
|
|
api_router = APIRouter()
|
|
|
|
# 认证模块
|
|
api_router.include_router(auth.router, prefix="/auth", tags=["Authentication"])
|
|
|
|
# SSE 事件推送模块
|
|
api_router.include_router(events.router, prefix="/events", tags=["Events"])
|
|
|
|
# 系统模块
|
|
api_router.include_router(system.router, prefix="/system", tags=["System"])
|
|
|
|
# 任务管理模块
|
|
api_router.include_router(tasks.router, prefix="/tasks", tags=["Tasks"])
|
|
|
|
# 脚本模块(生成 / 润色)
|
|
api_router.include_router(script.router, prefix="/script", tags=["Script"])
|
|
|
|
# 字幕生成模块(火山引擎-豆包语音)
|
|
api_router.include_router(caption.router, tags=["Caption"])
|
|
|
|
# 语音合成模块(TTS + 声音复刻)
|
|
api_router.include_router(voice.router, tags=["Voice"])
|
|
|
|
# 文件上传模块
|
|
api_router.include_router(upload.router, tags=["Upload"])
|
|
|
|
# Vidu 视频生成模块
|
|
api_router.include_router(vidu.router, tags=["Vidu"])
|
|
|
|
# 空镜素材模块
|
|
api_router.include_router(materials.router, prefix="/materials", tags=["Materials"])
|
|
|
|
# 封面背景图模块
|
|
api_router.include_router(cover_background.router, tags=["Cover Background"])
|
|
|
|
# 积分系统模块
|
|
api_router.include_router(points.router, tags=["Points"])
|
|
|
|
# 应用更新模块
|
|
api_router.include_router(update.router, prefix="/update", tags=["Update"])
|