栏目已经绑定商品列表
GET
/shop/column/bindGoodsList请求参数
Query 参数
createTime
string
创建时间
updateTime
string
更新时间
id
integer
可选
goodsSn
string
商品编号
name
string
商品名称
categoryId
integer
商品所属类目ID
brandId
integer
可选
gallery
string
可选
商品宣传图片列表,采用JSON数组格式
keywords
string
可选
商品关键字,采用逗号间隔
brief
string
商品简介
isOnSale
boolean
可选
是否上架(0代表为上架 1代表上架)
sort
integer
排序
picUrl
string
商品页面商品图片
shareUrl
string
商品分享海报
isNew
boolean
可选
是否新品首发,如果设置则可以在新品首发页面展示
isHot
boolean
可选
是否人气推荐,如果设置则可以在人气推荐页面展示
unit
string
必需
商品单位,例如件、盒
counterPrice
string
专柜价格
retailPrice
string
零售价格
actualSales
integer
实际销量
virtualSales
integer
虚拟销量
detail
string
可选
商品详细介绍,是富文本格式
delFlag
boolean
可选
删除标志(0代表存在 1代表删除)
columnId
integer
可选
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer | null
可选
返回状态码:返回200表示请求接口成功,非200表示请求接口失败
msg
string | null
返回消息
data
object (IPage«Goods»)
返回数据
records
array[object (Goods) {23}] | null
查询数据列表
默认值:
Collections.emptyList()
total
integer | null
总数
默认值:
0
size
integer | null
可选
每页显示条数,默认 10
默认值:
10
current
integer | null
当前页
默认值:
1
orders
array[object (OrderItem) {2}] | null
排序字段信息
默认值:
new ArrayList<>()
optimizeCountSql
boolean | null
可选
自动优化 COUNT SQL
默认值:
true
searchCount
boolean | null
可选
是否进行 count 查询
默认值:
true
optimizeJoinOfCountSql
boolean | null
可选
{@link #optimizeJoinOfCountSql()}
默认值:
true
maxLimit
integer | null
单页分页条数限制
countId
string | null
countId
pages
integer | null
可选
示例
{
"code": 0,
"msg": "",
"data": {
"records": [
{
"createTime": "",
"updateTime": "",
"id": 0,
"goodsSn": "",
"name": "",
"categoryId": 0,
"brandId": 0,
"gallery": [
""
],
"keywords": "",
"brief": "",
"isOnSale": false,
"sort": 0,
"picUrl": "",
"shareUrl": "",
"isNew": false,
"isHot": false,
"unit": "",
"counterPrice": 0,
"retailPrice": 0,
"actualSales": 0,
"virtualSales": 0,
"detail": "",
"delFlag": false
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": false
}
],
"optimizeCountSql": false,
"searchCount": false,
"optimizeJoinOfCountSql": false,
"maxLimit": 0,
"countId": "",
"pages": 0
}
}
最后修改时间: 10 个月前