字典数据详情
GET
/system/dict/data/{dictCode}请求参数
Path 参数
dictCode
string
编码ID
示例值:
{% mock 'increment' %}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
dictCode
string
编码ID
dictSort
integer
排序
dictLabel
string
标签名称
dictValue
string
标签值
dictType
string
字典类型
从字典类型列表中获取
tagClass
string
样式属性(样式扩展)
预设的class样式
tagType
string
标签类型(预设颜色)
预设数据固定项
status
string
状态
0停用 1正常
createBy
string
必需
createTime
string
必需
remark
string
备注
示例
{
"code": 200,
"msg": "成功",
"data": {
"dictCode": "15",
"dictSort": 2,
"dictLabel": "公告",
"dictValue": "2",
"dictType": "sys_notice_type",
"tagClass": "",
"tagType": "processing",
"status": "1",
"createBy": "maskAdmin",
"createTime": "1682264527183",
"remark": "公告"
}
}
修改于 1 年前