feat: 收视分析后端 API + 前端 service

This commit is contained in:
simonkoson
2026-07-03 10:19:27 +08:00
parent 1c4cbd84e5
commit d537bee9a7
3 changed files with 134 additions and 0 deletions
+2
View File
@@ -17,6 +17,7 @@ from app.api.yearly_targets import router as yearly_targets_router
from app.api.dashboard import router as dashboard_router
from app.api.schedules import router as schedules_router
from app.api.knowledge import router as knowledge_router
from app.api.analytics import router as analytics_router
from app.core.config import settings
app = FastAPI(title="军事科技工作台", version="0.1.0")
@@ -51,6 +52,7 @@ app.include_router(users_router)
app.include_router(dashboard_router)
app.include_router(schedules_router)
app.include_router(knowledge_router)
app.include_router(analytics_router)
# 挂载静态文件目录(题图海报)
_static_dir = Path(__file__).parent.parent / "static"