Ver Fonte

2024-06-12
第一版缓存搜索接口
记录搜索信息

罗俊辉 há 11 meses atrás
pai
commit
5c5dee270c
2 ficheiros alterados com 3 adições e 3 exclusões
  1. 1 1
      applications/deal/re_search_deal.py
  2. 2 2
      applications/static/config.py

+ 1 - 1
applications/deal/re_search_deal.py

@@ -35,7 +35,7 @@ class ReSearchDeal(object):
             self.kimi_summary = self.params['kimi_summary']
             self.kimi_keys = self.params['kimi_keys']
             self.trace_id = self.params['trace_id']
-            self.gh_id = self.params['gh_id']
+            self.gh_id = self.params['ghId']
             return None
         except AttributeError as e:
             result = {

+ 2 - 2
applications/static/config.py

@@ -365,7 +365,7 @@ ab_test_config = {
 }
 
 # prod
-# db_article = "long_articles_video"
+db_article = "long_articles_video"
 
 # dev
-db_article = "long_articles_video_dev"
+# db_article = "long_articles_video_dev"