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

add batch_recommend_user

parent 35276ea1
...@@ -272,7 +272,7 @@ class UserUtils(object): ...@@ -272,7 +272,7 @@ class UserUtils(object):
recommend_user_list.append(item["_source"]["user_id"]) recommend_user_list.append(item["_source"]["user_id"])
logging.info("duan add,attention_user_id_list:%s,user_index:%d" % (str(attention_user_id_list), user_index)) logging.info("duan add,attention_user_id_list:%s,user_index:%d" % (str(attention_user_id_list), user_index))
ret_dict[attention_user_id_list[user_index]] = recommend_user_list ret_dict[str(attention_user_id_list[user_index])] = recommend_user_list
user_index += 1 user_index += 1
......
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