fix(param): 修正案例和产品参数中的查询字段映射
- 在 CmsCaseParam 中为 categoryIds 添加查询字段映射 value 为 "category_id" - 在 CmsProductParam 中为 categoryIds 添加查询字段映射 value 为 "category_id"
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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下架")
|
||||||
|
|||||||
Reference in New Issue
Block a user