Commit 97293b2d authored by lixiaofang's avatar lixiaofang

add

parent f8db01e4
......@@ -160,7 +160,8 @@ def get_content_time_by_create_time(create_time="", content_level=0, action_type
repeat_time=0):
try:
###在这个地方需要重新判断一下星级
card_info['content_level'] = get_current_card_content_level(card_info)
content_level = get_current_card_content_level(card_info)
card_info['content_level'] = content_level
##
card_info['type'] = 'have_get_push_time'
card_info['have_comment_number'] = 0
......@@ -208,7 +209,8 @@ def get_click_follow_time_by_create_time(create_time="", content_level=0, action
card_info=None, repeat_time=0):
try:
######在这个地方需要重新判断一下星级
card_info['content_level'] = get_current_card_content_level(card_info)
content_level = get_current_card_content_level(card_info)
card_info['content_level'] = content_level
####
card_info['have_click_number'] = 0
card_info['have_follow_number'] = 0
......@@ -384,4 +386,4 @@ def get_current_card_content_level(card_info=[]):
except:
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
return []
return 0
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