|
@@ -29,7 +29,7 @@ from applications.tasks.llm_tasks import ArticlePoolCategoryGeneration
|
|
|
from applications.tasks.llm_tasks import CandidateAccountQualityScoreRecognizer
|
|
from applications.tasks.llm_tasks import CandidateAccountQualityScoreRecognizer
|
|
|
from applications.tasks.llm_tasks import ExtractTitleFeatures
|
|
from applications.tasks.llm_tasks import ExtractTitleFeatures
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+from applications.tasks.monitor_tasks import AutoReplyCardsMonitor
|
|
|
from applications.tasks.monitor_tasks import check_kimi_balance
|
|
from applications.tasks.monitor_tasks import check_kimi_balance
|
|
|
from applications.tasks.monitor_tasks import GetOffVideos
|
|
from applications.tasks.monitor_tasks import GetOffVideos
|
|
|
from applications.tasks.monitor_tasks import CheckVideoAuditStatus
|
|
from applications.tasks.monitor_tasks import CheckVideoAuditStatus
|
|
@@ -275,5 +275,13 @@ class TaskHandler(TaskMapper):
|
|
|
await task.deal(date_string=self.data.get("date_string"))
|
|
await task.deal(date_string=self.data.get("date_string"))
|
|
|
return self.TASK_SUCCESS_STATUS
|
|
return self.TASK_SUCCESS_STATUS
|
|
|
|
|
|
|
|
|
|
+ # 自动关注公众号账号
|
|
|
|
|
+ async def _auto_follow_account_handler(self) -> int:
|
|
|
|
|
+ task = AutoReplyCardsMonitor(
|
|
|
|
|
+ pool=self.db_client, log_client=self.log_client
|
|
|
|
|
+ )
|
|
|
|
|
+ await task.deal(task_name="follow_gzh_task")
|
|
|
|
|
+ return self.TASK_SUCCESS_STATUS
|
|
|
|
|
+
|
|
|
|
|
|
|
|
__all__ = ["TaskHandler"]
|
|
__all__ = ["TaskHandler"]
|