Ver código fonte

测试上线

罗俊辉 9 meses atrás
pai
commit
7f635fe52a
2 arquivos alterados com 2 adições e 27 exclusões
  1. 2 2
      applications/deal/recall_deal.py
  2. 0 25
      applications/static/config.py

+ 2 - 2
applications/deal/recall_deal.py

@@ -61,9 +61,9 @@ class RecallDeal(object):
             return hashlib.md5(hash_input.encode()).hexdigest()
             return hashlib.md5(hash_input.encode()).hexdigest()
 
 
         root_share_id = str(uuid.uuid4())
         root_share_id = str(uuid.uuid4())
-        if self.mini_program_type == 1:
+        if self.mini_program_type == 2:
             source_id = "touliu_tencentGzhArticle_" + generate_source_id()
             source_id = "touliu_tencentGzhArticle_" + generate_source_id()
-        elif self.mini_program_type == 2:
+        elif self.mini_program_type == 1:
             source_id = "longArticles_" + generate_source_id()
             source_id = "longArticles_" + generate_source_id()
         else:
         else:
             source_id = "Error mini_program_type {}".format(self.mini_program_type)
             source_id = "Error mini_program_type {}".format(self.mini_program_type)

+ 0 - 25
applications/static/config.py

@@ -454,31 +454,6 @@ gh_id_dict = {
 }
 }
 
 
 
 
-sensitive_words = [
-    "台湾",
-    "南海",
-    "强奸",
-    "寂寞难耐",
-    "欲求不满",
-    "不雅视频",
-    "人妻",
-    "侵犯",
-    "正部级",
-    "外长",
-    "邓小平",
-    "林彪",
-    "李先念",
-    "毛主席",
-    "毛泽东",
-    "江青",
-    "朱镕基",
-    "胡耀邦",
-    "政治局",
-    "省委书记",
-    "国防部长",
-    "外交部长"
-]
-
 # 实验配置文件
 # 实验配置文件
 buy_accounts = [
 buy_accounts = [
     "gh_084a485e859a",
     "gh_084a485e859a",