docs(notice): 站内信与通知机制技能文档及变更日志

This commit is contained in:
augushong
2026-10-12 12:59:14 +00:00
parent f011c3ba7b
commit 3b6cb66549
4 changed files with 176 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
### 新增
- **站内信/通知系统**:通知三表(notice/target/subscribe)与管理员 email 字段,`NoticeService::send()` 统一发送入口(代码级场景注册表、订阅矩阵过滤、locked 强投递)。站内信投递即落库;邮件走 PHPMailer SMTP 由 timer 异步消费(指数退避重试、超时回收);短信/公众号为骨架驱动待对接。后台配套:顶栏未读铃铛与轮询、我的消息、订阅设置、通知管理(投递明细/失败重发/场景总览)、系统配置"通知设置"Tab。规范见 [.agents/skills/ulthon-notice/SKILL.md](./.agents/skills/ulthon-notice/SKILL.md)。
- **B-route 多模式运行**:每个运行模式(default/docker-serve/docker-dev/docker-dev-sync/full/author)独立目录,各自直接运行。业务代码始终一套,在仓库根目录。
- default 模式:根目录直接 `php think run`
- Docker 模式:`cd source/stack/<mode> && docker compose up -d`