稳定性: 签到失败10分钟自动重试+前端显示Cookie剩余天数+每天9点Cookie过期预警

This commit is contained in:
2026-04-17 10:18:44 +08:00
parent 0068f22737
commit ecb1738d7b
3 changed files with 149 additions and 2 deletions

View File

@@ -74,6 +74,22 @@
<tr><td>备注</td><td>{{ account.remark or '-' }}</td></tr>
<tr><td>添加时间</td><td>{{ account.created_at[:10] }}</td></tr>
<tr><td>上次检查</td><td>{{ account.last_checked_at[:10] if account.last_checked_at else '-' }}</td></tr>
<tr>
<td>Cookie 有效期</td>
<td>
{% if account.cookie_expire_days is defined and account.cookie_expire_days is not none %}
{% if account.cookie_expire_days <= 3 %}
<span class="badge badge-danger">{{ account.cookie_expire_date }} (剩 {{ account.cookie_expire_days }} 天)</span>
{% elif account.cookie_expire_days <= 7 %}
<span class="badge badge-warning">{{ account.cookie_expire_date }} (剩 {{ account.cookie_expire_days }} 天)</span>
{% else %}
<span class="badge badge-success">{{ account.cookie_expire_date }} (剩 {{ account.cookie_expire_days }} 天)</span>
{% endif %}
{% else %}
<span style="color:#94a3b8;">未知</span>
{% endif %}
</td>
</tr>
</table>
</div>
<div class="card">