Commit 3c300235 authored by 黄凯's avatar 黄凯

Merge branch 'hk' into 'master'

add logging

See merge request alpha/physical!287
parents 5c634719 480ef671
......@@ -104,7 +104,10 @@ class CollectData(object):
if len(recommend_topic_id_list)==0 and cursor==0 and len(redis_topic_list)>0:
have_read_topic_id_list.extend(redis_topic_list[:2])
if len(tag_id_list) > 0:
tag_topic_id_list = ESPerform.get_tag_topic_list(tag_id_list,have_read_topic_id_list)
if len(new_user_click_tag_list)>0:
tag_topic_id_list = ESPerform.get_tag_topic_list(new_user_click_tag_list, have_read_topic_id_list)
else:
tag_topic_id_list = ESPerform.get_tag_topic_list(tag_id_list,have_read_topic_id_list)
logging.warning("tag_topic_id_list:%s"%str(tag_topic_id_list))
logging.warning("tag_id_list:%s"%str(tag_id_list))
......
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