Commit a16d5cb0 by 蒋勇

d

parent d2121ec2
...@@ -117,7 +117,7 @@ def fun(str): ...@@ -117,7 +117,7 @@ def fun(str):
fun_list.append(indexdict) fun_list.append(indexdict)
return fun_list return fun_list
redisPool = redis.ConnectionPool(host=FK_REDIS_HOST, port=FK_REDIS_PORT, password=FK_REDIS_PWD,db=FK_REDIS_DB) redisPool = redis.ConnectionPool(host=FK_REDIS_HOST, port=int(FK_REDIS_PORT), password=FK_REDIS_PWD,db=FK_REDIS_DB)
client = redis.Redis(connection_pool=redisPool) client = redis.Redis(connection_pool=redisPool)
a = client.lrange('notifyRule',-1,-1) a = client.lrange('notifyRule',-1,-1)
print(a,"aaa") print(a,"aaa")
......
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