分类获取商品(pageProd)
GET
/prod/pageProd
接口描述
根据分类ID获取该分类下所有的商品列表信息
请求参数
参数名
类型
描述
必填
size
int
每页大小,默认10
必填
current
int
当前页,默认1
必填
categoryId
int
分类id
可选
shopId
int
品牌id
可选
响应参数
参数名
类型
描述
必填
shopId
int
店铺id
必填
shopName
string
店铺名称
必填
prodId
int
商品id
必填
prodName
string
商品名称
必填
price
double
商品价格
必填
content
string
商品详情
必填
oriPrice
double
商品原价
必填
totalStocks
int
库存量
必填
brief
string
简要描述
必填
pic
string
商品主图
必填
imgs
string
商品图片列表,分割
必填
categoryId
int
商品分类
必填
skuId
int
skuId
必填
price
double
价格
必填
stocks
int
库存(-1表示无穷)
必填
skuName
string
sku名称
必填
pic
string
图片
必填
properties
string
销售属性组合字符串,格式是p1:v1;p2:v2
必填