Files
Hermes Agent 6016886f48
Docker Build / Build and Push Docker Image (push) Successful in 59s
Docker Build / Deploy to Server (push) Successful in 3s
feat(card): 卡密爆破按卡型归因 —— 后台能看出哪个卡型被刷得最狠
- logs 表新增 card_type_id(可空,历史日志不受影响)
- 卡密登录失败时,若该卡存在就把它的卡型一并写进日志(service.LogVerificationCard)
- 安全概览新增 failed_by_type:近 24 小时按卡型聚合失败次数 Top5(JOIN card_types 取名)
- 前端卡密页在指标卡下方显示「24 小时内被刷最多的卡型:xxx N 次」

实测:用已作废的「30天登录卡」连刷 3 次 → failed_24h 5、failed_by_type 显示
{"name":"30天登录卡","count":3},页面显示「30 天内被刷最多的卡型 30天登录卡 3 次」。
注意:改造前的历史日志没有 card_type_id,只计入总数、不计入按卡型分布。
2026-11-23 11:33:48 +08:00
..
2026-05-02 17:48:58 +08:00
2026-04-27 17:22:56 +08:00
2026-04-27 17:22:56 +08:00