1 parent
28740517cf
commit
02c1cda350
1 file changed
+1
-1
+1
-1
@@ -197,7 +197,7 @@ def create_app() -> Flask:
|
||||
def index():
|
||||
return {"test": "ok"}
|
||||
|
||||
@app.route("/webhook", methods=["GET"])
|
||||
@app.route("/webhook", methods=["GET", "POST"])
|
||||
def push_xbot_activity_bot():
|
||||
# 解析请求体中的json数据
|
||||
data = json.loads(request.data)
|
||||
|
||||
Reference in new issue
Block a user