10 lines
213 B
Python
10 lines
213 B
Python
"""健康检查路由"""
|
|
from fastapi import APIRouter
|
|
|
|
router = APIRouter(prefix="/health", tags=["健康检查"])
|
|
|
|
|
|
@router.get("/", summary="健康检查")
|
|
async def health_check():
|
|
return {"status": "ok"}
|