字典数据新增
POST
/system/dict/data请求参数
Body 参数application/json
dictType
string
字典类型
从字典类型列表中获取
dictLabel
string
标签名称
dictValue
string
标签值
dictSort
integer
排序
tagClass
string
样式属性(样式扩展)
预设的class样式
tagType
string
标签类型(预设颜色)
预设数据固定项
status
string
状态
0停用 1正常
remark
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": 200,
"msg": "成功"
}
修改于 1 年前