Ver Fonte

Merge branch 'feature/luojunhui/delete-article-improve' of Server/LongArticleTaskServer into master

luojunhui há 3 semanas atrás
pai
commit
879a890461
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      app/domains/monitor_tasks/gzh_article_monitor.py

+ 3 - 0
app/domains/monitor_tasks/gzh_article_monitor.py

@@ -290,6 +290,9 @@ class InnerGzhArticlesMonitor(MonitorConst):
             response_code = response["code"]
             if response_code == self.ARTICLE_ILLEGAL_CODE:
                 error_detail = response.get("msg")
+                if error_detail == '此内容因违规无法查看: 此内容因违规无法查看 由用户投诉并经平台审核,存在非真人自动化创作行为,查看对应规则 微信公众平台运营中心':
+                    return
+
                 query = """
                     INSERT IGNORE INTO illegal_articles
                         (gh_id, account_name, title, wx_sn, publish_date, illegal_reason)