Commit daf3fab5 authored by 段英荣's avatar 段英荣

modify

parent 27e2cfba
......@@ -68,7 +68,9 @@ class DoctorTransfer(object):
redis_key_prefix = "search_tips:tips_mapping_num"
redis_data = redis_client.hget(redis_key_prefix,doctor_name)
redis_val_dict = json.loads(redis_data) if redis_data else {}
logging.info("duan add,redis_data type:%s,val:%s" % (type(redis_data),str(redis_data)))
redis_val_dict = json.loads(str(redis_data)) if redis_data else {}
total_count = doctor_results
if 't' in redis_val_dict:
......
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