初始话项目框架
This commit is contained in:
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
"""健康检查路由"""
|
||||
from fastapi import APIRouter
|
||||
|
||||
router = APIRouter(prefix="/health", tags=["健康检查"])
|
||||
|
||||
|
||||
@router.get("/", summary="健康检查")
|
||||
async def health_check():
|
||||
return {"status": "ok"}
|
||||
Reference in New Issue
Block a user