- top.dingwen.io.api.doc
- 网站[webplus]
- 枚举
- 异步[async]
- 邮件
- 测试
- 管道业务流[pipeline]
- 测试
- 本地缓存[caffeine]
- 分布式缓存[Redis]
- 二级缓存
- 网络通讯[websocket]
- 进度条
- 日志监控
- 令牌[jwt]
- 配置[config]
- 字典[dict]
- 翻译
- 敏感词
- 公共模块
- 安全模块
字典项树列表
GET
/common/dicts/items/{dictCode}/tree
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
dictCode
string
字典编码
返回响应
🟢200成功
application/json
Body
code
number
返回code
message
string
消息
data
array[object (字典值结果) {15}]
数据
id
number
字典编号
parentId
number
父字编号
orderNumber
integer
排序
dictLabel
string
字典标签
dictValue
string
字典键值
dictCode
string
字典编码
cssStyle
string
回显样式
state
object (枚举项结果)
状态:枚举State
buildInFlag
object (枚举项结果)
内置标记:Flag
remark
string
备注
gmtCreate
string <date-time>
创建时间
正则匹配:
yyyy-MM-dd HH:mm:ss
gmtModified
string <date-time>
更新时间
正则匹配:
yyyy-MM-dd HH:mm:ss
creatorId
number
创建者编号
modificatorId
number
更新者编号
children
array[object (字典值结果) {15}]
可选
currentTime
string <date-time>
服务器响应时间
正则匹配:
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
tranceId
string
请求id
示例
{
"code": 0,
"message": "string",
"data": [
{
"id": 0,
"parentId": 0,
"orderNumber": 0,
"dictLabel": "string",
"dictValue": "string",
"dictCode": "string",
"cssStyle": "string",
"state": {
"itemName": "string",
"code": "string",
"desc": "string",
"name": "string"
},
"buildInFlag": {
"itemName": "string",
"code": "string",
"desc": "string",
"name": "string"
},
"remark": "string",
"gmtCreate": "2019-08-24T14:15:22Z",
"gmtModified": "2019-08-24T14:15:22Z",
"creatorId": 0,
"modificatorId": 0,
"children": [
{}
]
}
],
"currentTime": "2019-08-24T14:15:22Z",
"tranceId": "string"
}
修改于 2025-06-21 07:32:27