Commit 5fc9e94c authored by 李小芳's avatar 李小芳

get_highlight_v2

parent 0bcdd7b1
......@@ -255,8 +255,6 @@ def get_tractate(pks):
tagv4 = tractate.get_tractate_tagv4_names(tractate_id=tractate.id)
if tagv4:
tags_info = tractate.get_om_tags_info(ids=tagv4)
print("tags_info", tags_info)
item['selected_stars'] = []
item['selected_internet_celebrity'] = []
all_tags = []
......@@ -298,9 +296,8 @@ def get_tractate(pks):
# 新增V4社区运营标签
item["operate_tags_v4"] = list(tagv4)
data.append(item)
# logging.info("get data:%s" % data)
logging.info("get data:%s" % data)
return data
except:
logging.error("catch exception,logins:%s" % traceback.format_exc())
......
......@@ -329,7 +329,6 @@ class Tractate(models.Model):
try:
res_list = []
result = r['pims/catalog/usertags/ids2tag'](ids=list(ids)).unwrap()
logging.info("get result:%s", result)
res_list = result.get("result", [])
except :
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
......
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