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:
@@ -48,7 +48,7 @@ func registerPollingConfigRoutes(router fiber.Router, handler *admin.PollingConf
|
||||
Register(configs, doc, groupPath, "GET", "/match-preview", handler.MatchPreview, RouteSpec{
|
||||
Summary: "预览卡的轮询配置匹配结果(按当前配置)",
|
||||
Tags: []string{"轮询配置管理"},
|
||||
Input: new(dto.PollingConfigMatchPreviewRequest),
|
||||
Input: new(dto.PollingConfigMatchPreviewQuery),
|
||||
Output: new(dto.PollingConfigMatchPreviewResponse),
|
||||
Auth: true,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user