GET /admin/communication/rate-limits
返回当前系统中各渠道(sms/email/push)的速率限制配置,包括每分钟/每小时最大发送量和当前服务商。管理员可查看系统默认值和租户级别覆盖。参考:ePrivacy Directive 2002/58/EC、CAN-SPAM Act。
通信服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
channel |
query |
string |
No |
|
|
|
渠道筛选:sms/email/push(不传返回全部) |
Referenced Schemas
domain.ChannelRateLimitData
| Field | Type | Required | Example | Constraints | Description |
max_per_hour |
integer |
No |
|
|
|
max_per_min |
integer |
No |
|
|
|
provider |
string |
No |
|
|
|
tenant_id |
string |
No |
|
|
|
dto.RateLimitsDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.RateLimitsResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.RateLimitsResponse
通信服务各发送渠道的速率限制配置
dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|