修改字典值
PUT
/system/dict/data
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
createBy
string | null
创建者
createTime
string | null
创建时间
updateBy
string | null
更新者
updateTime
string | null
更新时间
remark
string | null
备注
dictId
integer | null
菜单ID
name
string | null
字典名称
value
string | null
字典值
dictStatus
integer | null
可选
type
integer | null
可选
sort
integer | null
字典排序
>= 0
parentType
string | null
可选
delFlag
boolean | null
可选
示例
{
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"remark": "string",
"dictId": 0,
"name": "string",
"value": "string",
"dictStatus": 0,
"type": 0,
"sort": 0,
"parentType": "string",
"delFlag": true
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://localhost:81/system/dict/data' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
code
integer | null
可选
msg
string | null
返回消息
data
boolean | null
返回数据
示例
{
"code": 0,
"msg": "",
"data": false
}
修改于 2024-05-06 03:44:54