S SmartDocs
系列: Ricky python 7 行 · 更新于 2026-04-18

health.py

Ricky/cat_project/backend/app/routes/health.py

from flask import Blueprint, jsonify

bp = Blueprint("health", __name__)

@bp.get("/health")
def health():
    return jsonify({"ok": True})

相关文章