feat: 实现按物质匹配反应
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
from flask import Blueprint
|
||||
from ..services import matters
|
||||
from ..utils import matters
|
||||
|
||||
matter_bp = Blueprint("matter", __name__, "/matter")
|
||||
|
||||
@matter_bp.route("/<id>")
|
||||
@matter_bp.route("/id/<id>")
|
||||
def search_matter(id):
|
||||
return matters.readMatter(id)
|
||||
return matters.readMatter(id)
|
||||
|
||||
@matter_bp.route("/match/<id>")
|
||||
def select_matter(id):
|
||||
return id
|
||||
Reference in New Issue
Block a user