Loading...
首先创建一个redis_db.py,用来建立redis链接,具体的参数自己调整。import redis try: pool = redis.ConnectionPool( host="localhost", port=6379, password='', db=0, ...