- top.dingwen.io.api.doc
- 网站[webplus]
- 枚举
- 异步[async]
- 邮件
- 测试
- 管道业务流[pipeline]
- 测试
- 本地缓存[caffeine]
- 分布式缓存[Redis]
- 二级缓存
- 网络通讯[websocket]
- 进度条
- 日志监控
- 令牌[jwt]
- 配置[config]
- 字典[dict]
- 翻译
- 敏感词
- 公共模块
- 安全模块
修改字典项
PUT
/common/dicts/items/default
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
dictDataId
number
字典值id
dictSort
integer
字典排序
dictLabel
string
字典标签
dictValue
string
字典键值
cssClass
string
样式属性
listClass
string
表格字典样式
status
string
字典状态[枚举:DicStatus]
remark
string
备注信息
dictType
string
字典类型
isDefault
string
是否默认[枚举: DicDataDefault]
YES("YES", "是"),
NO("NO", "否");
parentId
number
父字典值id
示例
{
"dictDataId": 0,
"dictSort": 0,
"dictLabel": "string",
"dictValue": "string",
"cssClass": "string",
"listClass": "string",
"status": "string",
"remark": "string",
"dictType": "string",
"isDefault": "string",
"parentId": 0
}
返回响应
🟢200成功
application/json
Body
code
number
返回code
exCode
string
异常码
message
string
消息
success
boolean
是否成功
currentTime
string <date-time>
服务器响应时间
正则 匹配:
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
tranceId
string
请求id
data
object
数据
示例
{
"code": 0,
"exCode": "string",
"message": "string",
"success": true,
"currentTime": "2019-08-24T14:15:22Z",
"tranceId": "string",
"data": {}
}
修改于 2025-06-21 07:32:19