Commit 455d0ed9 authored by Kai's avatar Kai

add promote topic position

parent 24d91d63
......@@ -119,7 +119,7 @@ def get_home_recommend_topic_ids(user_id, device_id, tag_id, offset, size, query
promote_recommend_topic_id_list = TopicHomeRecommend.objects.using(settings.SLAVE_DB_NAME).filter(
is_online=1).values_list("topic_id")
for topic_id in promote_recommend_topic_id_list:
have_read_topic_id_list.append(topic_id)
have_read_topic_id_list.extend(topic_id)
topic_id_list = list()
rank_topic_id_list = TopicUtils.get_recommend_topic_ids(user_id=user_id, tag_id=tag_id, offset=offset, size=size,
......
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