金刚区列表
GET
/shop/diamond/list请求参数
Query 参数
createTime
string
创建时间
updateTime
string
更新时间
id
integer
可选
name
string
金刚区名称
sort
integer
排序
jumpType
integer
可选
金刚区跳转类型(0栏目,1分类,2url)
valueId
integer
可选
跳转栏目ID或者分类ID
valueUrl
string
跳转连接
iconUrl
string
图标地址
picUrl
string
可选
跳转banner地址
status
integer
可选
是否展示(0不展示,1展示)
delFlag
boolean
可选
删除标志(0代表存在 1代表删除)
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer | null
可选
返回状态码:返回200表示请求接口成功,非200表示请求接口失败
msg
string | null
返回消息
data
object (IPage«Diamond»)
返回数据
records
array[object (Diamond) {12}] | 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,
"name": "",
"sort": 0,
"jumpType": 0,
"valueId": 0,
"valueUrl": "",
"iconUrl": "",
"picUrl": "",
"status": 0,
"delFlag": false
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": false
}
],
"optimizeCountSql": false,
"searchCount": false,
"optimizeJoinOfCountSql": false,
"maxLimit": 0,
"countId": "",
"pages": 0
}
}
最后修改时间: 10 个月前