Commit 152b9978 authored by 段英荣's avatar 段英荣

modify

parent 508875b3
......@@ -64,7 +64,8 @@ class DoctorTransfer(object):
doctor_results = result_dict["total_count"]
redis_key_prefix = "search_tips:tips_mapping_num"
redis_val_dict = redis_client.hgetall(redis_key_prefix)
redis_data = redis_client.hget(redis_key_prefix,doctor_name)
redis_val_dict = json.loads(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