Commit 3cbe2188 authored by 段英荣's avatar 段英荣

modify

parent 8588d6e4
......@@ -11,13 +11,13 @@ from libs.cache import redis_client
@bind("physical/search/home_recommend")
def home_recommend(ctx,user_id=-1,offset=0,size=10):
def home_recommend(user_id=-1,offset=0,size=10):
"""
:remark:首页推荐,目前只推荐日记,缺少小组打散策略
:return:
"""
try:
logging.info("duan add,ctx:%s" % str(ctx))
#logging.info("duan add,ctx:%s" % str(ctx))
if not user_id:
user_id=-1
redis_key = "physical:home_recommend:" + "user_id:" + str(user_id)
......
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