fix(param): 修正案例和产品参数中的查询字段映射

- 在 CmsCaseParam 中为 categoryIds 添加查询字段映射 value 为 "category_id"
- 在 CmsProductParam 中为 categoryIds 添加查询字段映射 value 为 "category_id"
This commit is contained in:
2026-07-31 01:50:05 +08:00
parent c281375c56
commit 02346b284c
2 changed files with 2 additions and 2 deletions

View File

@@ -40,6 +40,6 @@ public class CmsCaseParam extends BaseParam {
private Integer categoryId; private Integer categoryId;
@Schema(description = "案例分类ID集合逗号分隔用于聚合父栏目下所有子栏目的案例优先级高于 categoryId") @Schema(description = "案例分类ID集合逗号分隔用于聚合父栏目下所有子栏目的案例优先级高于 categoryId")
@QueryField(type = QueryType.IN_STR) @QueryField(value = "category_id", type = QueryType.IN_STR)
private String categoryIds; private String categoryIds;
} }

View File

@@ -32,7 +32,7 @@ public class CmsProductParam extends BaseParam {
private Integer categoryId; private Integer categoryId;
@Schema(description = "分类ID集合逗号分隔用于聚合父栏目下所有子栏目的产品优先级高于 categoryId") @Schema(description = "分类ID集合逗号分隔用于聚合父栏目下所有子栏目的产品优先级高于 categoryId")
@QueryField(type = QueryType.IN_STR) @QueryField(value = "category_id", type = QueryType.IN_STR)
private String categoryIds; private String categoryIds;
@Schema(description = "状态: 1在售 0下架") @Schema(description = "状态: 1在售 0下架")