Files
backend/app/routes/matters.py
T

12 lines
266 B
Python
Raw Normal View History

from flask import Blueprint
2026-01-20 08:45:50 +08:00
from ..utils import matters
matter_bp = Blueprint("matter", __name__, "/matter")
2026-01-20 08:45:50 +08:00
@matter_bp.route("/id/<id>")
def search_matter(id):
2026-01-20 08:45:50 +08:00
return matters.readMatter(id)
@matter_bp.route("/match/<id>")
def select_matter(id):
return id