Commit c1c958a4 authored by litaolemo's avatar litaolemo

update

parent cd99d53a
...@@ -1001,7 +1001,7 @@ headers = {'X-GAIA-HELIOS-VERSION': '0.7.4', 'X-GM-Request-Id': '123', 'x-gm-pat ...@@ -1001,7 +1001,7 @@ headers = {'X-GAIA-HELIOS-VERSION': '0.7.4', 'X-GM-Request-Id': '123', 'x-gm-pat
# rds = redis.StrictRedis.from_url("redis://172.18.51.17:6379/21", decode_responses=True) # rds = redis.StrictRedis.from_url("redis://172.18.51.17:6379/21", decode_responses=True)
# 正式 # 正式
rds = redis.StrictRedis.from_url("redis://:XfkMCCdWDIU%ls$h3@172.16.50.159:6379", decode_responses=True) rds = redis.StrictRedis.from_url("redis://:XfkMCCdWDIU%ls$h3@172.16.50.159:6379", decode_responses=True)
for city in city_list: for city in city_list.keys():
redis_key = "service_icon_{}".format(city) redis_key = "service_icon_{}".format(city)
for query in query_list: for query in query_list:
try: try:
......
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