Commit d45b297b authored by 段英荣's avatar 段英荣

modify

parent f76513ed
......@@ -86,7 +86,9 @@ class UserUtils(object):
],
"minimum_should_match":2,
"must_not":{
"terms":attention_user_id_list
"terms":{
"user_id":attention_user_id_list
}
}
}
},
......
......@@ -12,7 +12,7 @@ from search.utils.user import UserUtils
@bind("physical/search/recommend_user")
def recommend_user(recommend_user_id=-1,user_id=-1,offset=0,size=10):
def recommend_user(user_id=-1,offset=0,size=10):
"""
:remark: 点关注推荐用户,缺少按时间排序策略
:param 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