Commit 56b32f61 authored by lixiaofang's avatar lixiaofang

add

parent 65c465db
......@@ -104,10 +104,12 @@ class GroupUtils(object):
if len(result_dict["hits"]) > 0:
topic_ids_list = [item["_source"]["id"] for item in result_dict["hits"]]
logging.info("get topic_ids_list:%s" % topic_ids_list)
if len(topic_ids_list) > 5:
pictorial_del_ids_list.append(id)
logging.info("get all pictorial_id:%s"%pictorial_del_ids_list)
return pictorial_del_ids_list[offset:(offset+size)]
else:
......
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