字典数据修改
PUT
/system/dict/data请求参数
Body 参数application/json
dictCode
string
编码ID
dictType
string
字典类型
从字典类型列表中获取
dictLabel
string
标签名称
dictValue
string
标签值
dictSort
integer
排序
tagClass
string
样式属性(样式扩展)
预设的class样式
tagType
string
标签类型(预设颜色)
预设数据固定项
status
string
状态
0停用 1正常
remark
string
备注
示例
{
"dictCode": "string",
"dictType": "string",
"dictLabel": "string",
"dictValue": "string",
"dictSort": 0,
"tagClass": "string",
"tagType": "string",
"status": "string",
"remark": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
示例
异常示例-查不到字典类型
{
"code": 500,
"msg": "没有权限访问字典类型数据!"
}
修改于 1 年前