fix(通知): 账号状态按类型分别发送(不做统计)

This commit is contained in:
2026-10-21 16:44:10 +08:00
parent 677c3189c9
commit abaf65737e
7 changed files with 73 additions and 54 deletions
+5 -5
View File
@@ -125,11 +125,11 @@ EVENTS = [
["serial", "device_name", "model", "want", "msg"],
"抖音停在登录页或要验证码 —— **需要人工登录**(平台绝不代替登录/过滑块),"
"本设备已停止本轮任务", agg_window=0, agg_key=_BY_SERIAL, recommend=True),
_e("account.status.summary", "账号状态汇总", "业务",
["job_name", "source", "total", "normal", "abnormal",
"status_counts", "abnormal_accounts"],
"账号状态分布 + 异常账号清单:每次「检测账号」运行结束发一次,"
"另外每天定时发一次全量汇总(可在通知设置里关)",
_e("account.status.summary", "账号状态分类", "业务",
["title", "job_name", "source", "status_type", "accounts"],
"按账号状态**类型分别发送**:每个类型一条消息,列出该状态的账号"
"(不做总数/正常/异常统计)。每次「检测账号」运行结束发一次,"
"另外每天定时发一次",
agg_window=0, recommend=True),
_e("task.video.published", "视频已发布", "业务",
["serial", "device_name", "model", "phone", "nickname", "release_date", "seq",