Commit 39e80469 authored by 李小芳's avatar 李小芳

Merge branch 'del_showindex' into 'master'

get_highlight_v2

See merge request !55
parents 7bee6d06 03220674
......@@ -41,8 +41,6 @@ def get_answers(pks):
item['doctor_id'] = DoctorService.get_doctor_by_user_id_v1(answer.user_id)
item['question_id'] = answer.question.id
item['smart_rank'] = answer.smart_rank()
item['smart_rank_v2'] = answer.smart_rank_v2()
item['smart_rank_v3'] = answer.smart_rank_v3()
item['title'] = answer.question.title
item['desc'] = answer.question.content
item['question_type'] = answer.question.question_type
......@@ -67,7 +65,8 @@ def get_answers(pks):
# community_score = answer.get_community_answer_smr_score(answer.id)
community_hot_score = answer.get_community_answer_hot_score(answer.id)
item['new_goodclicks'] = community_hot_score.get('hot_score', 0)
item['smart_rank_v2'] = answer.get_new_smart_rank_score(answer_id=answer.id)
item['smart_rank_v3'] = answer.get_new_smart_rank_score(answer_id=answer.id)
item['platform'] = answer.platform
# 新标签
......
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