feat(*): 添加测试项目代码
This commit is contained in:
9
handlers/health.py
Normal file
9
handlers/health.py
Normal file
@@ -0,0 +1,9 @@
|
||||
"""健康检查端点。"""
|
||||
|
||||
from aiohttp import web
|
||||
|
||||
from response import ok
|
||||
|
||||
|
||||
async def health_handler(request: web.Request) -> web.Response:
|
||||
return ok(data={"health": "ok"})
|
||||
Reference in New Issue
Block a user