文档
测试

商品列表信息

GET
/mobile/api/commodity/getcolumninfolist

接口描述

含商品搜索,按分类查询(许兵兵)

请求参数

参数名
类型
描述
必填
page
Integer
页码(默认1)
必填
size
Integer
每页大小(默认4)
必填
sortType
Integer
1:最新(倒序) 2:销量(倒序)3:价格降序 4:价格升序 0:默认不选
必填
title
String
搜索的内容
必填
columnId
Integer
分类id(如果不填,会查所有)
必填

响应参数

参数名
类型
描述
必填
code
200
必填
message
SUCCESS
必填
data
必填
total
必填
list
必填
productId
Integer
商品id
必填
productImg
String
商品封面图
必填
productBanner
String
商品轮播图(限制10张图)
必填
productName
String
商品名称
必填
productSalePrice
BigDecimal
销售金额
必填
productOldPrice
BigDecimal
商品原价
必填
productDetail
String
商品图文详情
必填
productParam
String
商品参数信息
必填
stockNum
Integer
库存数量
必填
saleNum
Integer
销量
必填
productType
Integer
是否有sku 1:是 0:否
必填
delFlag
Integer
是否删除1:是 0:否
必填
orderVal
Integer
排序值
必填
columnId
Integer
分类id
必填
saleTime
上架时间
必填
saleState
Integer
是否有上架 1:是 0:否
必填