新建小程序后端,新建数据库

This commit is contained in:
ChengCan
2026-03-25 15:58:48 +08:00
parent 7510ca6df1
commit 5a45ee1106
8 changed files with 401 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
from fastapi import APIRouter
router = APIRouter(tags=["health"])
@router.get("/health")
async def health() -> dict[str, str]:
return {"status": "ok"}