12345678910 |
- # -*- coding:utf-8 -*-
- from fastapi import APIRouter
- from fastapi.responses import JSONResponse
- router = APIRouter(prefix="/base", tags=['base'])
- @router.get("/check", name="服务状态校验", tags=['BASE'])
- async def listener():
- return JSONResponse({"message": "success", "statusCode": 200}, status_code=200)
|