Files
backend/app/routes/matters.py
T

11 lines
235 B
Python
Raw Normal View History

2026-01-20 10:13:51 +08:00
'''
物质定义文件读取路由
'''
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 12:18:30 +08:00
return matters.readMatter(id)