获取字典
GET
/system/dict/type/{dictId}请求参数
Path 参数
dictId
string
必需
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer | null
可选
返回状态码:返回200表示请求接口成功,非200表示请求接口失败
msg
string | null
返回消息
data
object (Dict)
返回数据
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
可选
字典状态(0正常 1停用)
type
integer | null
可选
字典类型(1字典类型 2类型数据)
sort
integer | null
字典排序
>= 0
parentType
string | null
可选
delFlag
boolean | null
可选
删除标志(0代表存在 1代表删除)
示例
{
"code": 0,
"msg": "",
"data": {
"createBy": "",
"createTime": "",
"updateBy": "",
"updateTime": "",
"remark": "",
"dictId": 0,
"name": "",
"value": "",
"dictStatus": 0,
"type": 0,
"sort": 0,
"parentType": "",
"delFlag": false
}
}
最后修改时间: 10 个月前