docs: 修正 last_notified_at 的说明
Deploy VitePress site to Pages / build (push) Canceled after 0s
Deploy VitePress site to Pages / Deploy (push) Canceled after 0s

它不是限流用的(没人读它做限流),而且只在推送**成功**之后才写 —— 排查「为什么
没收到通知」时这个区别很关键:「值很旧」说明不了有没有试过。
This commit is contained in:
2026-10-12 08:21:15 +08:00
parent 36f41450ae
commit 86e7fbd507
+1 -1
View File
@@ -74,7 +74,7 @@ monitor_setting 键值设置,独立
| `last_run_at` | bigint | 是 | 上次运行的**开始**时刻(不是结束) |
| `last_status` | varchar(32) | 否 | 上次运行状态,取值见 `monitor_run.status` |
| `last_error` | text | 是 | 上次失败的原因,给人看的一句话 |
| `last_notified_at` | bigint | 是 | 上次推送的时刻,用来限流 |
| `last_notified_at` | bigint | 是 | **上次推送成功**的时刻。只在企业微信返回 `errcode=0` 之后才写 —— 所以「这个值是旧的」并不等于「没试过」,只说明没成功。目前它只是显示用的,并没有拿它做限流 |
| `created_at` / `updated_at` | bigint | 否 | |
`schedule_hours` / `schedule_days` 存的是**逗号分隔的字符串**而不是关联表 —— 内容是几个