| 接口 | 参数对接 | 响应字段用途 |
|---|
| GET /api/sms/platforms | keyword←平台下拉搜索 | name→下拉, id→后续请求 |
| GET /api/sms/platform/{id}/summary | id←下拉选中 | remain→服务商卡片, allocatable→分配卡片 |
| GET /api/sms/communities | platformId←下拉, name←搜索框 | 列表列: name, remain, usedTotal, usedMonth |
| POST /api/sms/platform/adjust | type, amount, remark←资源调整弹窗 | 返回最新剩余用于刷新 |
| POST /api/sms/community/allocate | communityId, mode, amount, rate, mappedValue, expire, remark←配置弹窗 | 返回最新平台/小区剩余 |
| GET /api/sms/history | platformId/ communityId | 表格展示历史 |