Commit 9289967e by 岳巧源

add test3

parent bb96d331
Showing with 3 additions and 3 deletions
...@@ -24,12 +24,12 @@ config_prod = { ...@@ -24,12 +24,12 @@ config_prod = {
conf = config_prod conf = config_prod
if __name__ == '__main__': if __name__ == '__main__':
host = conf["redis2"]["host"] host = conf["redis1"]["host"]
port = conf["redis2"]["port"] port = conf["redis1"]["port"]
password = conf["redis2"]["password"] password = conf["redis2"]["password"]
db = redis.Redis(host=host, port=port, password=password, decode_responses=True) 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.hget("spu", "2172358037068768407") ans = db.hget("sku", "1151033372455278202")
print(ans) 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