feat: 添加后端架构、计算模块及部署文档

This commit is contained in:
wuyongtao
2026-07-16 13:47:37 +08:00
parent 4050c120d5
commit ba4059fe3b
46 changed files with 1002 additions and 105 deletions

View File

@@ -0,0 +1 @@
"""Versioned API package."""

View File

@@ -0,0 +1 @@
"""API endpoint modules."""

View File

@@ -0,0 +1,12 @@
from fastapi import APIRouter
from app.core.logging import get_logger
router = APIRouter()
logger = get_logger(__name__)
@router.get("/health")
async def health_check() -> dict[str, str]:
logger.info("health check requested")
return {"status": "ok"}

View File

@@ -0,0 +1,6 @@
from fastapi import APIRouter
from app.api.v1.endpoints.health import router as health_router
api_router = APIRouter()
api_router.include_router(health_router, tags=["health"])