mediabot-pt
2d91552ea4
feat: API Key 静默认证 + 多邮箱支持
核心改动:
- V3 迁移: accounts 加 api_key/api_secret + account_emails 多邮箱关联表
- HMAC 验签改用 api_secret 替代密码哈希(改密码不影响集成)
- findByAnyEmail 支持主邮箱 + 关联邮箱查找
- AdminController: API Key 生成/重置 + 邮箱绑定/解绑/列表
- 前端 Users.vue: API Key 列 + 生成按钮 + Secret 复制弹窗
- 现有邮箱自动迁移到 account_emails 表
认证流程:
旧: X-Email → account.email → passwordHash 作 HMAC key
新: X-Email → account_emails ∪ account.email → api_secret 作 HMAC key
2026-06-29 16:30:53 +08:00
..
2026-06-29 16:30:53 +08:00
2026-06-29 11:14:37 +08:00
2026-06-29 13:18:59 +08:00
2026-06-29 13:18:59 +08:00