Commit 264b3280 authored by 李小芳's avatar 李小芳

更新es的配置

parent 40c54196
......@@ -102,7 +102,8 @@ def get_tractate(pks):
item["content_star_keyword"] = get_content_star_keywords(id=tractate.id, content_type="usertopic")
item["content_star_first_keyword"] = get_content_star_first_keyword(id=tractate.id,
content_type="usertopic")
item["has_service"] = has_service(tractate_tag_list, content_keyword)
# item["has_service"] = has_service(tractate_tag_list, content_keyword)
item["has_service"] =False
item["user_type"] = get_user_type(tractate.user_id)
item['has_picture'] = tractate.get_tractate_image
......
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