浏览代码

Merge branch '2024-11-19-add-sensitive-words' of Server/title_with_video into 2024-09-23newDbTasks

luojunhui 5 月之前
父节点
当前提交
caf5e85256
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      applications/spider/spiderSchedule.py

+ 1 - 1
applications/spider/spiderSchedule.py

@@ -9,7 +9,7 @@ class SearchMethod(object):
     """
     搜索召回模式
     """
-    s_words = []
+    s_words = ['人民', '必胜', '正义必胜', '中国', '老虎', '人生的扣子', '共产党', '总书记', '政', '习']
 
     @classmethod
     async def search_v1(cls, text, trace_id):