This commit is contained in:
harry
2024-03-11 16:37:49 +08:00
parent d4f7b53b84
commit 06df797234
71 changed files with 2725 additions and 1 deletions

9
app/controllers/ping.py Normal file
View File

@@ -0,0 +1,9 @@
from fastapi import APIRouter
from fastapi import Request
router = APIRouter()
@router.get("/ping", tags=["Health Check"], description="检查服务可用性", response_description="pong")
def ping(request: Request) -> str:
return "pong"