POST /internal/notification/push/send
向指定用户的设备发送 VAPID 签名的 Web Push 通知消息(内部API,投递由 communication-service 执行) 参考:CAN-SPAM Act (15 U.S.C. §7701) — Commercial Email Compliance。
通知服务 - 内部接口 None application/json
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
X-Tenant-ID |
header |
string |
是 |
|
|
|
租户ID |
引用的 Schema
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
|
|
|
message |
string |
否 |
|
|
|
timestamp |
string |
否 |
|
|
|
service-notification/internal/handler/dto.PushSendDetailResponse
service-notification/internal/handler/dto.PushSendResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
failed |
integer |
否 |
0 |
|
|
sent |
integer |
否 |
3 |
|
|
total |
integer |
否 |
3 |
|
|