This commit is contained in:
Silent YANG 2024-02-25 16:13:48 +08:00
parent bddd5cfb69
commit c099207937

2
app.py
View file

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