Commit b7d859e3 authored by 李小芳's avatar 李小芳

get_highlight_v2

parent 8360ae92
......@@ -300,7 +300,7 @@ def get_tractate(pks):
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,7 @@ class Tractate(models.Model):
try:
res_list = []
result = r['pims/catalog/usertags/ids2tag'](ids=ids).unwrap()
print("result",result)
logging.info("get result:%s", result)
res_list = result.get("result", [])
except Exception:
return []
......
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