栏目列表
GET
/shop/column/list请求参数
Query 参数
createTime
string
创建时间
updateTime
string
更新时间
id
integer
可选
sort
integer
排序
name
string
栏目名称
delFlag
boolean
可选
删除标志(0代表存在 1代表删除)
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer | null
可选
返回状态码:返回200表示请求接口成功,非200表示请求接口失败
msg
string | null
返回消息
data
object (IPage«ColumnManagerResVO»)
返回数据
records
array[object (ColumnManagerResVO) {7}] | 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": [
{
"id": 0,
"sort": 0,
"name": "",
"goodsNum": 0,
"createTime": "",
"updateTime": "",
"delFlag": false
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": false
}
],
"optimizeCountSql": false,
"searchCount": false,
"optimizeJoinOfCountSql": false,
"maxLimit": 0,
"countId": "",
"pages": 0
}
}
最后修改时间: 10 个月前