分页列表
GET
/system/dict/data/list
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
createBy
string
创建者
createTime
string
创建时间
updateBy
string
更新者
updateTime
string
更新时间
remark
string
备注
dictId
integer
菜单ID
name
string
字典名称
value
string
字典值
dictStatus
integer
可选
type
integer
可选
sort
integer
字典排序
parentType
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/system/dict/data/list?name&value'
返回响应
🟢200成功
application/json
Body
code
integer | null
可选
msg
string | null
返回消息
data
object (IPage«Dict»)
返回数据
records
array[object (Dict) {13}] | 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": [
{
"createBy": "",
"createTime": "",
"updateBy": "",
"updateTime": "",
"remark": "",
"dictId": 0,
"name": "",
"value": "",
"dictStatus": 0,
"type": 0,
"sort": 0,
"parentType": "",
"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