GET /admin/notifications/platform-stats

获取平台所有租户的通知发送、阅读等聚合统计数据 参考:CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance。

通知服务 `bearerAuth` application/json

响应

引用的 Schema

service-core/base/dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-notification/internal/handler/dto.NotificationStatsDetailResponse

字段类型必填示例约束描述
code integer 否
data service-notification/internal/handler/dto.NotificationStatsResponse 否
message string 否
timestamp string 否

service-notification/internal/handler/dto.NotificationStatsResponse

通知发送与阅读统计(notification 层不追踪投递状态,仅追踪已读/未读)

字段类型必填示例约束描述
by_type object 否 extra keys: `integer` 按类型
read_rate number 否 0.45 阅读率
total_read integer 否 450 总阅读
total_sent integer 否 1000 总发送