From c2bcde5e593bf0c605d08b66443d6c29adc280bf Mon Sep 17 00:00:00 2001 From: Jeason <1710884619@qq.com> Date: Thu, 9 Apr 2026 08:43:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D0=E8=B6=85=E8=AF=9D=E7=AD=BE?= =?UTF-8?q?=E5=88=B0=E6=8E=A8=E9=80=81=E6=B6=88=E6=81=AF=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=BA=E6=88=90=E5=8A=9F=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/task_scheduler/app/main.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/backend/task_scheduler/app/main.py b/backend/task_scheduler/app/main.py index b8d4dff..8176c14 100644 --- a/backend/task_scheduler/app/main.py +++ b/backend/task_scheduler/app/main.py @@ -279,6 +279,14 @@ def _push_signin_result(account_id: str, result: dict, elapsed: float): lines = [f"⏰ {remark} 签到超时 ({elapsed:.1f}s)"] elif status == "error": lines = [f"❌ {remark} 签到异常: {result.get('reason', '未知')}"] + elif status == "completed" and result.get("signed", 0) == 0 and result.get("total", 0) == 0: + msg = result.get("message", "") + if "no topics" in msg: + lines = [f"⚠️ {remark} 签到失败: 获取超话列表失败(可能被风控或 Cookie 失效)"] + elif "no selected" in msg: + lines = [f"⚠️ {remark} 签到跳过: 没有选中的超话"] + else: + lines = [f"⚠️ {remark} 签到异常: 0 个超话 ({msg})"] else: signed = result.get("signed", 0) already = result.get("already_signed", 0)