Browse Source

增加目录请求

master
majiahui@haimaqingfan.com 2 years ago
parent
commit
4463c30f9d
  1. 2
      flask_batch.py

2
flask_batch.py

@ -100,7 +100,7 @@ def handle_query():
@app.route("/articles_directory", methods=["POST"])
def handle_query():
def articles_directory():
text = request.json["texts"] # 获取用户query中的文本 例如"I love you"
nums = request.json["nums"]

Loading…
Cancel
Save