kpt

【getTopicPageData】重命名函数 getCommentFilterData -> getCommentFilterDataTopic ,解决冲突

@@ -19,7 +19,7 @@ def getTopicPageCreatedAtCharData(topic):# 统计包含特定热词的评论在 @@ -19,7 +19,7 @@ def getTopicPageCreatedAtCharData(topic):# 统计包含特定热词的评论在
19 createdAt[i[1]] = 1 19 createdAt[i[1]] = 1
20 return list(createdAt.keys()),list(createdAt.values()) 20 return list(createdAt.keys()),list(createdAt.values())
21 21
22 -def getCommentFilterData(topic):# 筛选包含特定热词的评论并返回这些评论的数据 22 +def getCommentFilterDataTopic(topic):# 筛选包含特定热词的评论并返回这些评论的数据
23 commentsList = getAllCommentsData() 23 commentsList = getAllCommentsData()
24 commentData = [] 24 commentData = []
25 for i in commentsList: 25 for i in commentsList: