Commit 52903abb authored by 吴升宇's avatar 吴升宇

Merge branch 'test' of git.wanmeizhensuo.com:alpha/physical into test

parents 37c1e29a a0be5fa3
......@@ -624,9 +624,9 @@ def get_category_reply_commtent(category_id):
elif category_id == 46: # 穿搭
logging.info("46-------------")
file = "/srv/apps/physical/vest/data/wear_repy_data.txt"
elif category_id == 10329872: # 肌肤
elif category_id == 10329872: # 肤质类型
file = "/srv/apps/physical/vest/data/skin.txt"
elif category_id == 10329873: # 敏感肌
elif category_id == 10329873: # 皮肤敏感度
file = "/srv/apps/physical/vest/data/skin_sensitive.txt"
else:
comment = get_comment()
......@@ -651,6 +651,13 @@ def judge_topic_info_get_comment(topic_id):
edit_tag_list = get_edit_tag_id_list(topic_id)
logging.info("get topic_tag:%s" % edit_tag_list)
tag_list = get_tag_id_list(topic_id)
# todo 垃圾需求--》垃圾代码 先这样
if 10329872 in edit_tag_list:
get_category_reply_commtent(10329872)
if 10329873 in edit_tag_list:
get_category_reply_commtent(10329872)
if len(tag_list) > 0:
comment = get_hellolike_comment()
......
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