Commit ecd547fe authored by 段英荣's avatar 段英荣

modify

parent e33ab264
...@@ -304,7 +304,7 @@ class TopicUtils(object): ...@@ -304,7 +304,7 @@ class TopicUtils(object):
tag_id_list = [] tag_id_list = []
if len(result_dict["hits"])>0: if len(result_dict["hits"])>0:
tag_id_list = json.loads(result_dict["hits"][0]["_source"][TopicDocumentField.TAG_LIST]) tag_id_list = result_dict["hits"][0]["_source"][TopicDocumentField.TAG_LIST]
return tag_id_list return tag_id_list
except: except:
......
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