文档
测试

点单管理-商品查询接口

POST
139.196.110.143/dev-api/system/productSku/listShopProduct?pageNum=1&pageSize=11

请求头

参数名
类型
描述
必填
Authorization
必填

请求参数

application/json
参数名
类型
描述
必填
categoryId
int
商品分类ID(第三级,品种)(传null表示查全部)
可选
plantformCategoryId
int
中台分类ID(传null表示查全部)
可选
skuId
long
商品id(传null表示查全部)
必填
skuName
string
商品名称(传null表示查全部,支持模糊)
必填

响应参数

application/json
参数名
类型
描述
必填
code
int
状态码。200-成功;其他-失败
必填
msg
string
成功或失败提示
必填
rows
objectArray
必填
skuName
string
必填
categoryId
int
商品分类ID(第三级,品种)
必填
plantformCategoryId
int
平台商品分类ID
必填
price
decimal
标准价
必填
productCode
string
聚合商品编码,SU编码
必填
vipPrice
decimal
会员价
必填
weight
decimal
商品重量
必填
unit
string
单位
必填
stockNum
int
库存数量
必填
total
int
数量
必填

说明 / 示例

入参 { "skuId": null, "skuName": null, "categoryId": null, "plantformCategoryId": null } 出参 { "total": 3, "rows": [ { "createBy": null, "createTime": null, "updateBy": null, "updateTime": "2024-08-01 23:21:10", "remark": null, "skuId": 1, "skuName": "土猪鲜肉大包子", "storeId": 0, "cityId": 0, "districtId": 0, "itemCode": "1", "accessCode": "1", "adminSkuId": 0, "plantformCategoryId": 1, "categoryId": 1, "skuImage": "", "productCode": "1", "promotionId": 0, "video": "", "price": 0, "vipPrice": 0, "skuStatus": 1, "status": 1, "weight": 0, "packageWeight": 0, "grossMargin": 0, "commissionRatio": 0, "unit": "1", "stockNum": 0 }, { "createBy": null, "createTime": null, "updateBy": null, "updateTime": "2024-08-01 23:21:11", "remark": null, "skuId": 2, "skuName": "粉丝包", "storeId": 0, "cityId": 0, "districtId": 0, "itemCode": "2", "accessCode": "2", "adminSkuId": 0, "plantformCategoryId": 2, "categoryId": 2, "skuImage": "", "productCode": "2", "promotionId": 0, "video": "", "price": 0, "vipPrice": 0, "skuStatus": 1, "status": 1, "weight": 0, "packageWeight": 0, "grossMargin": 0, "commissionRatio": 0, "unit": "1", "stockNum": 0 }, { "createBy": null, "createTime": null, "updateBy": null, "updateTime": "2024-08-01 23:21:12", "remark": null, "skuId": 3, "skuName": "梅干菜包子", "storeId": 0, "cityId": 0, "districtId": 0, "itemCode": "3", "accessCode": "3", "adminSkuId": 0, "plantformCategoryId": 3, "categoryId": 3, "skuImage": "", "productCode": "3", "promotionId": 0, "video": "", "price": 0, "vipPrice": 0, "skuStatus": 1, "status": 1, "weight": 0, "packageWeight": 0, "grossMargin": 0, "commissionRatio": 0, "unit": "3", "stockNum": 0 } ], "code": 200, "msg": "查询成功" }