Browse Source

history_task.py 增加了账号的negative category的判断

response.py 增加一个新的code 96,表示该文章品类不适合该账号
luojunhui 5 months ago
parent
commit
db5da61fb5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tasks/history_task.py

+ 1 - 1
tasks/history_task.py

@@ -290,7 +290,7 @@ class historyContentIdTask(object):
         trace_id = params['trace_id']
         flow_pool_level = params['flow_pool_level']
         if flow_pool_level == "autoArticlePoolLevel4":
-            # 校验文章是否不属于账号所属于的品类
+            # 校验文章是否属于该账号的negative 类型
             category_status = await self.check_title_whether_exit(content_id)
             if category_status:
                 # 修改状态为品类不匹配状态