POST /admin/notifications/broadcast
向租户下所有用户或指定用户群发送通知消息,适用于系统维护通知、安全告警等场景 参考:CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance。
通知服务 `bearerAuth` application/json
Request Body
Schema: dto.BroadcastNotificationRequest
| Field | Type | Required | Example | Constraints | Description |
content |
string |
Yes |
系统将于今晚22:00-23:00进行维护 |
|
内容 |
title |
string |
Yes |
系统公告 |
|
标题 |
type |
string |
No |
system |
|
类型 |
Referenced Schemas
dto.BroadcastNotificationDetailResponse
dto.BroadcastNotificationResponse
广播通知的响应结果
| Field | Type | Required | Example | Constraints | Description |
broadcast_id |
string |
No |
broadcast-1234567890 |
|
广播ID |
content |
string |
No |
系统将于今晚22:00-23:00进行维护 |
|
内容 |
recipients |
integer |
No |
100 |
|
接收人数 |
title |
string |
No |
系统公告 |
|
标题 |
type |
string |
No |
system |
|
类型 |
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|