This commit is contained in:
Silent YANG 2024-02-25 16:25:23 +08:00
parent 0c6156008b
commit 748e7c4e90

3
app.py
View file

@ -23,7 +23,8 @@ def lol():
if func == 0:
r.set(_uuid, _cache, 600)
else:
_cache = r.get(_uuid).decode("utf-8")
if r.get(_uuid):
_cache = r.get(_uuid).decode("utf-8")
return jsonify({'code': 200, 'uuid': _uuid, 'cache': _cache})
@app.route("/pass", methods=['POST'])