feat: 实现按物质匹配反应

This commit is contained in:
2026-01-20 08:45:50 +08:00
parent ca33fd0578
commit dc695030d6
9 changed files with 29 additions and 8 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
from flask import Blueprint
from ..services import reactions
from ..utils import reactions
reaction_bp = Blueprint("reaction", __name__, "/reaction")
@reaction_bp.route("/<id>")
@reaction_bp.route("/id/<id>")
def search_reaction(id):
return reactions.readReaction(id)