栏目列表
GET
/shop/column/list
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
createTime
string
创建时间
updateTime
string
更新时间
id
integer
可选
sort
integer
排序
name
string
栏目名称
delFlag
boolean
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:81/shop/column/list'
返回响应
🟢200成功
application/json
Body
code
integer | null
可选
msg
string | null
返回消息
data
object (IPage«ColumnManagerResVO»)
返回数据
records
array[object (ColumnManagerResVO) {7}] | null
查询数据列表
默认值:
Collections.emptyList()
total
integer | null
总数
默认值:
0
size
integer | null
可选
默认值:
10
current
integer | null
当前页
默认值:
1
orders
array[object (OrderItem) {2}] | null
排序字段信息
默认值:
new ArrayList<>()
optimizeCountSql
boolean | null
可选
默认值:
true
searchCount
boolean | null
可选
默认值:
true
optimizeJoinOfCountSql
boolean | null
可选
默认值:
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
}
}
修改于 2024-05-06 03:44:54