GET /admin/notifications/stats

与用户面 /notifications/stats 同体、同租户范围;供控制台在 admin 平面读取。

通知服务 `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 总发送