Bläddra i källkod

Merge branch '2025-03-05-add-sph-title-rewrite' of luojunhui/LongArticlesJob into master

luojunhui 3 månader sedan
förälder
incheckning
577abc381c
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      tasks/title_rewrite_task.py

+ 1 - 1
tasks/title_rewrite_task.py

@@ -154,7 +154,7 @@ class TitleRewriteTask:
             where bad_status = {const.ARTICLE_POSITIVE_STATUS} 
                 and audit_status = {const.ARTICLE_AUDIT_PASSED_STATUS} 
                 and title_rewrite_status = {const.TITLE_REWRITE_INIT_STATUS}
-                and platform = 'hksp'
+                and platform in ('hksp', 'sph')
             limit {batch_size};
         """
         res = self.db.fetch(query=sql, cursor_type=DictCursor)