This website requires JavaScript.
Explore
Help
Register
Sign In
Tory
/
go-sms-V2
Watch
1
Star
0
Fork
0
Code
Issues
6
Pull Requests
Actions
3
Packages
Projects
Releases
Wiki
Activity
Files
53395007bb28117a1b13eb2f4926178be1586e88
go-sms-V2
/
api
/
openapi.yaml
T
Tory
931d477305
Issue#6·P2: Dashboard 后端 3 端点——①/ops/system/overview(五子系统 gateway/consumer/mysql/redis/kafka;up|degraded|down|unknown 四态诚实:lag≥10k=degraded、Redis 降级=down 不假绿;admin|ops 角色门,LagReader 闭包注入复用 Day55 只读实例);②/stats/biz(两维分布 by_business=sms|video 空值归一 + by_send_type=batch|personal|timer|file;口径修正留痕:原契约 biz_type 属审核域 audit_record 非 task 维度,以 send_type 呈现更贴运营语义;days 1~30 缺省 7);③/stats/realtime(60s 窗 idx_detail_created 覆盖索引 COUNT 零回表;平台=全局+Top5 账号+username 补齐,客户=仅自己);④openapi 1.4.0→1.5.0(+3 端点);⑤测试=ops_handler_test.go 3 组(平台/客户双口径、四态+lag 千分位、customer 403 门);门禁=vet✓/lint api 域 0/全量 -race 除 channel 存量 flaky(单跑×2 绿,挂账);人工验收挂起与 P3/P4 统一走;工作区遗留 8 文件(先前会话半成品)不纳入本提交边界
2026-11-18 10:58:18 +08:00
61 KiB
Raw
Blame
History
Reference in New Issue
View Git Blame
Copy Permalink