Commit d7c8a167 authored by lixiaofang's avatar lixiaofang

add

parent 56b32f61
......@@ -109,7 +109,7 @@ class GroupUtils(object):
if len(topic_ids_list) > 5:
pictorial_del_ids_list.append(id)
logging.info("get all pictorial_id:%s"%pictorial_del_ids_list)
logging.info("get---all pictorial_id:%s"%pictorial_del_ids_list)
return pictorial_del_ids_list[offset:(offset+size)]
else:
......
......@@ -54,7 +54,7 @@ def pictorial_sort(user_id=-1, sort_type=GroupSortTypes.HOT_RECOMMEND, offset=0,
if sort_type == GroupSortTypes.HOT_RECOMMEND:
pictorial_ids_list = GroupUtils.get_hot_pictorial_recommend_result_list(offset, size, es_cli_obj)
logging.info("get pictorial_ids_list:%s"%pictorial_ids_list)
logging.info("get---pictorial_ids_list:%s"%pictorial_ids_list)
return {"pictorial_recommend_ids": pictorial_ids_list}
elif sort_type == GroupSortTypes.ATTENTION_RECOMMEND:
......
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