初始化提交

This commit is contained in:
chenxin committed 2026-08-21 16:00:13 +08:00
commit 887c1f449e
963 files changed
+166869

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
"""健康检查 API。"""
from fastapi import APIRouter
from app.core.config import settings
router = APIRouter(tags=["health"])
@router.get("/health")
async def health() -> dict[str, str]:
return {"status": "ok", "app_name": settings.app_name, "env": settings.app_env}