docs: 轮询配置接口文档与实际行为对齐
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 9m57s
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 9m57s
- 匹配预览 GET 只收 query iccid,POST 只收请求体,去掉 POST 文档中多余的 query 参数 - 预览草稿 overrides 改为独立结构,字段全部可选,最多 20 条 - clear_fields 用具名类型生成数组元素枚举;ordered_ids 说明须为正整数且不重复
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
- [x] 4.1 `/polling-configs` DTO 增加 4 个字段,间隔校验改为"0 或不小于最小间隔",说明文字按三态;保存校验无套餐已销售与在库层卡状态必须为正数;优先级重复且条件可能重叠时返回提示。
|
||||
- [x] 4.2 `PUT /polling-configs/priorities`:事务内整体重排,写统一审计,发配置变更通知。
|
||||
- [x] 4.3 `GET /polling-configs/match-preview?iccid=`(可带 `config_overrides`):返回维度取值、命中配置、每类最终间隔与来源;只读。
|
||||
- [x] 4.3 `GET /polling-configs/match-preview?iccid=`;`POST /polling-configs/match-preview` 请求体带 `overrides`(未保存修改):返回维度取值、命中配置、每类最终间隔与来源;只读。
|
||||
- [x] 4.4 `POST /polling-configs/recalculate-due`(可选运营商账户)与 `GET /polling-configs/recalculate-due/:task_id`:异步分批,只提前不推后,不调网关。
|
||||
- [x] 4.5 `GET /polling-stats/tiers`、`GET /polling-stats/pre-reset`。
|
||||
- [x] 4.6 同步路由、`cmd/api/docs.go`、`cmd/gendocs/main.go` 并重新生成接口文档。
|
||||
|
||||
Reference in New Issue
Block a user