说明 / 示例
```json
/**
* 商品名称模糊查询
*/
private String spuName;
/**
* 分类信息
*/
private Integer catId;
/**
* 分类id列表
*/
private List<Integer> catIdList;
/**
* 商品id
*/
private List<Integer> spuIdList;
/**
* 单个商品id
*/
private Integer spuId;
/**
* 商户id
*/
private Integer merchantId;
/**
* 标签
*/
private String tagCode;
/**
* 排序字段名
*/
private String sortField;
/**
* 是否降序
*/
private Boolean desc;
/**
* 会员等级id
*/
private Integer memberLevelId;
/**
* 最小销量
*/
private Integer minSaleCount;
/**
* 最大销量
*/
private Integer maxSaleCount;
/**
* 是否查询全部商品
*/
private Boolean searchAll;
/**
* 是否为某标签
*/
private String signTagCode;
/**
* 商品最低价
*/
private Integer minPrice;
/**
* 商品最高价
*/
private Integer maxPrice;
/**
* 商品类型
*/
private List<String> spuTypeList;
/**
* 创建时间
*/
private List<String> createTime;
/**
* 发布状态
*/
private Boolean publishStatus;
```
响应结果
```json
{
"status": 200,
"error": "",
"message": "success",
"payload": {
"records": [
{
"spuId": 97,
"spuName": "苹果13",
"spuDescription": null,
"catId": 34,
"weight": 100,
"publishStatus": true,
"type": "1",
"imgUrl": "https://img.alicdn.com/imgextra/i4/1917047079/O1CN01Ukyklx22AERCsK5UM_!!1917047079.png_430x430q90.jpg",
"accountPattern": null,
"accountName": null,
"createTime": "2021-08-25 18:23:47",
"updateTime": "2021-08-25 18:23:47",
"memberDiscount": true,
"saleTime": "2021-08-17 16:46:24",
"saleMin": 1,
"deleted": false,
"merchantId": 1,
"spuDecr": null,
"skuList": null,
"baseAttrList": null,
"saleAttrList": null,
"minPrice": 8506501,
"maxPrice": 8506501,
"saleCount": 63,
"minDiscountPrice": null,
"maxDiscountPrice": null,
"discount": null,
"inventory": 100,
"usableInventory": 37,
"imgList": null,
"privilegeCoupon": 0,
"inputRules": null
}
],
"total": 8,
"size": 1,
"current": 1,
"orders": [],
"optimizeCountSql": false,
"hitCount": false,
"countId": null,
"maxLimit": null,
"searchCount": true,
"pages": 8
}
}
```