Commit 373f0307 authored by 段英荣's avatar 段英荣

modify

parent fa5eb32d
......@@ -11,7 +11,7 @@ from libs.cache import redis_client
from search.utils.common import *
@bind("physical/search/home_recommend")
@time_consuming_decorator
#@time_consuming_decorator
def home_recommend(session_id="",user_id=-1,offset=0,size=10):
"""
:remark:首页推荐,目前只推荐日记
......@@ -73,7 +73,7 @@ def home_recommend(session_id="",user_id=-1,offset=0,size=10):
@bind("physical/search/home_query")
@time_consuming_decorator
#@time_consuming_decorator
def home_query(session_id="",user_id=-1,query="",offset=0,size=10):
"""
:remark:首页搜索,目前只推荐日记
......@@ -136,7 +136,7 @@ def home_query(session_id="",user_id=-1,query="",offset=0,size=10):
@bind("physical/search/topic_detail_page_recommend")
@time_consuming_decorator
#@time_consuming_decorator
def topic_detail_page_recommend(user_id=-1,topic_id=-1,topic_group_id=-1,topic_user_id=-1,offset=0,size=10):
"""
:remark:帖子详情页推荐策略,缺少第一个卡片策略
......
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