Commit 489de7fb by larosa

add test

parent de3f51fa
Showing with 2 additions and 1 deletions
......@@ -23,7 +23,8 @@ 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", "33836")
# ans = db.hget("jd_ext_attr", "33836")
ans = db.hgetall("jd_ext_attr")
print(ans)
......
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