From 740f864b0619e5254ef4b6936f4f1c289631f487 Mon Sep 17 00:00:00 2001 From: Silent YANG Date: Sun, 25 Feb 2024 16:08:17 +0800 Subject: [PATCH] update --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index faaca40..b69d6de 100644 --- a/app.py +++ b/app.py @@ -14,7 +14,7 @@ def local2utc(local_dtm): # 本地时间转 UTC 时间( -8:00 ) return datetime.utcfromtimestamp(local_dtm.timestamp()) -@app.route("/lol") +@app.route("/lol", methods=['POST']) @cross_origin() def lol(): func = request.json.get('func', 0)