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

This commit is contained in:
kpt
2024-07-03 20:33:00 +08:00
parent c5b0acd987
commit 9c2740c2d5
+1 -1
View File
@@ -19,7 +19,7 @@ def getTopicPageCreatedAtCharData(topic):# 统计包含特定热词的评论在
createdAt[i[1]] = 1
return list(createdAt.keys()),list(createdAt.values())
def getCommentFilterData(topic):# 筛选包含特定热词的评论并返回这些评论的数据
def getCommentFilterDataTopic(topic):# 筛选包含特定热词的评论并返回这些评论的数据
commentsList = getAllCommentsData()
commentData = []
for i in commentsList: