Commit b49a5171 by dong

fix

parent 20b565b2
......@@ -572,7 +572,6 @@ def attract_enterprise():
return jsonify(code=RET.DBERR, msg="数据库查询错误")
# redis缓存
try:
# pass
redis_store.setex(name_query, 30 * 24 * 3600, json.dumps(data))
except:
return jsonify(code=RET.DBERR, msg="redis保存失败!")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment