Commit 7ec1287a authored by 段英荣's avatar 段英荣

modify

parent 1ea18a3d
......@@ -19,8 +19,8 @@ def get_discover_page_topic_ids(user_id,device_id,size,query_type=TopicPageType.
else:
redis_key = "physical:discover_page" + ":user_id:" + str(user_id)
redis_field_list = b'have_read_topic_id'
redis_field_val_list = redis_client.hget(redis_key,redis_field_list)
redis_field_list = [b'have_read_topic_id']
redis_field_val_list = redis_client.hmget(redis_key,redis_field_list)
have_read_topic_id_list = json.loads(redis_field_val_list[0]) if redis_field_val_list[0] else []
......
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