upload project source code

This commit is contained in:
2026-04-30 18:49:43 +08:00
commit 9b394ba682
2277 changed files with 660945 additions and 0 deletions

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
from fastapi import APIRouter
from fastapi.responses import JSONResponse
HealthRouter = APIRouter(prefix="", tags=["健康检查"])
@HealthRouter.get("/health", summary="健康检查", description="检查系统健康状态")
async def health_check() -> JSONResponse:
"""
健康检查接口
返回:
- JSONResponse: 包含健康状态的JSON响应
"""
return JSONResponse(content={"msg": "Healthy"}, status_code=200)