文档
测试

获取字典顶级列表

GET
http://127.0.0.1/api/tang/dictBiz/parent-list

请求参数

参数名
类型
描述
必填
code
string
字典码
可选
dictValue
string
字典值
可选
current
int
当前页
必填
limit
int
页大小
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:获取成功
必填
dictBizPage
object
数据字典
必填
current
int
示例:1
必填
orders
array
数据列表
必填
pages
int
示例:1
必填
records
array
数据列表
必填
code
string
字典码
必填
dictKey
string
字典值
必填
dictValue
string
字典名称
必填
id
int
主键
必填
isDeleted
int
是否删除 0:否 1:是
必填
isSealed
int
是否封存 0:否 1:是
必填
parentId
int
父主键
必填
remark
string
备注
必填
sort
int
排序
必填
tenantId
string
租户
必填
searchCount
boolean
示例:true
必填
size
int
示例:10
必填
total
int
示例:2
必填
state
int
示例:1
必填

说明 / 示例

{ "msg": "获取成功", "dictBizPage": { "current": 1, "orders": [], "pages": 1, "records": [ { "code": "passport_type", "dictKey": "-1", "dictValue": "护照类型", "id": 1, "isDeleted": 0, "isSealed": 0, "parentId": 0, "remark": "护照类型", "sort": 1, "tenantId": "" }, { "code": "frequency", "dictKey": "-1", "dictValue": "频次", "id": 6, "isDeleted": 0, "isSealed": 0, "parentId": 0, "remark": "频次", "sort": 2, "tenantId": "" } ], "searchCount": true, "size": 10, "total": 2 }, "state": 1 }