10 lines
181 B
Python
10 lines
181 B
Python
"""健康检查"""
|
|
from fastapi import APIRouter
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
@router.get("/health")
|
|
async def health():
|
|
return {"status": "ok", "version": "0.1.0", "name": "Hunzi"}
|