Commit b9b86098 by 岳巧源

add getall

parent 1e79b7da
Showing with 2 additions and 1 deletions
......@@ -22,5 +22,5 @@ if __name__ == '__main__':
port = conf["redis"]["port"]
password = conf["redis"]["password"]
db = redis.Redis(host=host, port=port, password=password, decode_responses=True)
ans = db.hget("jd_ext_attr", "35917")
ans = db.hgetall("shop_distribution")
print(ans)
\ No newline at end of file
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 sign in to comment