POST /admin/notifications/broadcast
向租户下所有用户或指定用户群发送通知消息,适用于系统维护通知、安全告警等场景 参考: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.BroadcastNotificationDetailResponse
service-notification/internal/handler/dto.BroadcastNotificationResponse
广播通知的响应结果
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
broadcast_id |
string |
否 |
broadcast-1234567890 |
|
广播ID |
content |
string |
否 |
系统将于今晚22:00-23:00进行维护 |
|
内容 |
recipients |
integer |
否 |
100 |
|
接收人数 |
title |
string |
否 |
系统公告 |
|
标题 |
type |
string |
否 |
system |
|
类型 |