feat: add template detail and config APIs

This commit is contained in:
zwt13703
2026-07-01 20:31:54 +08:00
parent 611e089c9e
commit 217af9bc99
6 changed files with 188 additions and 4 deletions
+2
View File
@@ -1,6 +1,7 @@
from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
from .api.data_sources import router as data_sources_router
from .api.templates import router as templates_router
app = FastAPI(title="AI 文档模板生成系统", version="0.1.0")
@@ -14,6 +15,7 @@ app.add_middleware(
)
app.include_router(templates_router)
app.include_router(data_sources_router)
@app.get("/health")