Files
backend/app/routes/reactions.py
T

11 lines
251 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 reactions
reaction_bp = Blueprint("reaction", __name__, "/reaction")
2026-01-20 08:45:50 +08:00
@reaction_bp.route("/id/<id>")
def search_reaction(id):
return reactions.readReaction(id)