获取所有[字典](放入缓存)
GET
/dictionaries/请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
array [object {9}]
必需
dict_type
string
字典类型
val
string
键
dict_id
integer
字典主键
is_deleted
integer
逻辑删除
create_time
string
创建时间
description
string
描述
remark
string | null
备注
label
string
值
by_user
string
创建者
示例
{
"code": 20000,
"message": "字典加入缓存成功",
"data": [
{
"dict_type": "2",
"val": "1",
"dict_id": 1,
"is_deleted": 0,
"create_time": "2023-12-06T14:06:33",
"description": "物料增加",
"remark": null,
"label": "物料增加",
"by_user": "admin"
},
{
"dict_type": "2",
"val": "2",
"dict_id": 2,
"is_deleted": 0,
"create_time": "2023-12-06T14:08:47",
"description": "物料删除",
"remark": null,
"label": "物料删除",
"by_user": "admin"
},
{
"dict_type": "2",
"val": "3",
"dict_id": 3,
"is_deleted": 0,
"create_time": "2023-12-06T14:10:59",
"description": "物料修改",
"remark": null,
"label": "物料修改",
"by_user": "admin"
},
{
"dict_type": "1",
"val": "0",
"dict_id": 4,
"is_deleted": 0,
"create_time": "2023-12-06T16:19:43",
"description": "库存日志中区分物料还是成品库存",
"remark": null,
"label": "物料",
"by_user": "admin"
},
{
"dict_type": "1",
"val": "1",
"dict_id": 5,
"is_deleted": 0,
"create_time": "2023-12-06T16:22:10",
"description": "库存日志中区分物料还是成品库存",
"remark": null,
"label": "成品",
"by_user": "admin"
},
{
"dict_type": "2",
"val": "4",
"dict_id": 6,
"is_deleted": 0,
"create_time": "2023-12-08T13:35:21",
"description": "成品增加",
"remark": null,
"label": "成品增加",
"by_user": "admin"
},
{
"dict_type": "2",
"val": "5",
"dict_id": 7,
"is_deleted": 0,
"create_time": "2023-12-08T13:36:14",
"description": "成品删除",
"remark": null,
"label": "成品删除",
"by_user": "admin"
},
{
"dict_type": "2",
"val": "6",
"dict_id": 8,
"is_deleted": 0,
"create_time": "2023-12-08T13:36:55",
"description": "成品修改",
"remark": null,
"label": "成品修改",
"by_user": "admin"
},
{
"dict_type": "3",
"val": "0",
"dict_id": 9,
"is_deleted": 0,
"create_time": "2023-12-08T16:01:34",
"description": "供应商表代表合作",
"remark": null,
"label": "合作",
"by_user": "admin"
},
{
"dict_type": "3",
"val": "1",
"dict_id": 10,
"is_deleted": 0,
"create_time": "2023-12-08T16:02:13",
"description": "供应商表代表未合作",
"remark": null,
"label": "未合作",
"by_user": "admin"
},
{
"dict_type": "4",
"val": "0",
"dict_id": 11,
"is_deleted": 0,
"create_time": "2023-12-11T10:44:54",
"description": "订货单位未合作",
"remark": null,
"label": "暂无合作",
"by_user": "admin"
},
{
"dict_type": "4",
"val": "1",
"dict_id": 12,
"is_deleted": 0,
"create_time": "2023-12-11T10:45:46",
"description": "订货单位有订单信息",
"remark": null,
"label": "有单",
"by_user": "admin"
},
{
"dict_type": "4",
"val": "2",
"dict_id": 13,
"is_deleted": 0,
"create_time": "2023-12-11T10:46:38",
"description": "订货单位没有订单信息",
"remark": null,
"label": "无单",
"by_user": "admin"
},
{
"dict_type": "5",
"val": "EN",
"dict_id": 14,
"is_deleted": 0,
"create_time": "2023-12-13T15:38:46",
"description": "机器语言为英文",
"remark": null,
"label": "英文",
"by_user": "admin"
},
{
"dict_type": "5",
"val": "CH",
"dict_id": 15,
"is_deleted": 0,
"create_time": "2023-12-13T15:39:26",
"description": "机器语言为中文",
"remark": null,
"label": "中文",
"by_user": "admin"
},
{
"dict_type": "6",
"val": "1",
"dict_id": 16,
"is_deleted": 0,
"create_time": "2023-12-13T15:42:31",
"description": "110伏特",
"remark": null,
"label": "110V",
"by_user": "admin"
},
{
"dict_type": "6",
"val": "2",
"dict_id": 17,
"is_deleted": 0,
"create_time": "2023-12-13T15:42:52",
"description": "220伏特",
"remark": null,
"label": "220V",
"by_user": "admin"
},
{
"dict_type": "6",
"val": "3",
"dict_id": 18,
"is_deleted": 0,
"create_time": "2023-12-13T15:43:18",
"description": "380伏特",
"remark": null,
"label": "380V",
"by_user": "admin"
},
{
"dict_type": "7",
"val": "1",
"dict_id": 19,
"is_deleted": 0,
"create_time": "2023-12-13T15:44:28",
"description": "XP600喷头",
"remark": null,
"label": "XP600",
"by_user": "admin"
},
{
"dict_type": "7",
"val": "2",
"dict_id": 20,
"is_deleted": 0,
"create_time": "2023-12-13T15:45:12",
"description": "13200喷头",
"remark": null,
"label": "13200",
"by_user": "admin"
},
{
"dict_type": "7",
"val": "3",
"dict_id": 21,
"is_deleted": 0,
"create_time": "2023-12-13T15:45:33",
"description": "4720喷头",
"remark": null,
"label": "4720",
"by_user": "admin"
},
{
"dict_type": "9",
"val": "0",
"dict_id": 22,
"is_deleted": 0,
"create_time": "2023-12-14T09:29:07",
"description": "机器订单状态:已完成",
"remark": null,
"label": "已完成",
"by_user": "admin"
},
{
"dict_type": "9",
"val": "1",
"dict_id": 23,
"is_deleted": 0,
"create_time": "2023-12-14T09:29:48",
"description": "机器订单状态:已下单",
"remark": null,
"label": "已下单",
"by_user": "admin"
},
{
"dict_type": "11",
"val": "1",
"dict_id": 24,
"is_deleted": 0,
"create_time": "2023-12-19T14:42:46",
"description": "男性",
"remark": "",
"label": "man",
"by_user": "admin"
},
{
"dict_type": "11",
"val": "0",
"dict_id": 25,
"is_deleted": 0,
"create_time": "2023-12-19T15:02:39",
"description": "女性",
"remark": "",
"label": "woman",
"by_user": "admin"
},
{
"dict_type": "11",
"val": "-1",
"dict_id": 26,
"is_deleted": 0,
"create_time": "2023-12-19T15:09:36",
"description": "性别模糊",
"remark": "",
"label": "未知",
"by_user": "admin"
},
{
"dict_type": "12",
"val": "-1",
"dict_id": 27,
"is_deleted": 0,
"create_time": "2023-12-19T15:19:56",
"description": "",
"remark": null,
"label": "未知",
"by_user": "admin"
},
{
"dict_type": "12",
"val": "1",
"dict_id": 28,
"is_deleted": 0,
"create_time": "2023-12-19T15:20:43",
"description": "正常状态",
"remark": null,
"label": "正常",
"by_user": "admin"
},
{
"dict_type": "12",
"val": "0",
"dict_id": 29,
"is_deleted": 0,
"create_time": "2023-12-19T15:24:21",
"description": "停用状态",
"remark": null,
"label": "停用",
"by_user": "admin"
},
{
"dict_type": "14",
"val": "Y",
"dict_id": 30,
"is_deleted": 0,
"create_time": "2023-12-19T15:26:16",
"description": "系统默认是\n",
"remark": null,
"label": "是",
"by_user": "admin"
},
{
"dict_type": "14",
"val": "N",
"dict_id": 31,
"is_deleted": 0,
"create_time": "2023-12-19T15:27:32",
"description": "系统默认否\n",
"remark": null,
"label": "否",
"by_user": "admin"
},
{
"dict_type": "14",
"val": "NULL",
"dict_id": 32,
"is_deleted": 0,
"create_time": "2023-12-19T16:04:37",
"description": "",
"remark": null,
"label": "未知",
"by_user": "admin"
},
{
"dict_type": "15",
"val": "default",
"dict_id": 33,
"is_deleted": 0,
"create_time": "2023-12-19T16:31:30",
"description": "默认分组\n",
"remark": null,
"label": "默认",
"by_user": "admin"
},
{
"dict_type": "15",
"val": "system",
"dict_id": 34,
"is_deleted": 0,
"create_time": "2023-12-19T16:51:24",
"description": "系统分组\n",
"remark": null,
"label": "系统",
"by_user": "admin"
},
{
"dict_type": "15",
"val": "null",
"dict_id": 36,
"is_deleted": 0,
"create_time": "2023-12-20T16:28:12",
"description": "",
"remark": null,
"label": "未知",
"by_user": "admin"
},
{
"dict_type": "2",
"val": "7",
"dict_id": 37,
"is_deleted": 0,
"create_time": "2023-12-22T14:16:03",
"description": "存入物料,借出归还",
"remark": null,
"label": "借出归还",
"by_user": "admin"
},
{
"dict_type": "2",
"val": "8",
"dict_id": 38,
"is_deleted": 0,
"create_time": "2023-12-22T14:22:09",
"description": "存入物料,供应商来货",
"remark": null,
"label": "供应商来货",
"by_user": "admin"
},
{
"dict_type": "16",
"val": "1",
"dict_id": 39,
"is_deleted": 0,
"create_time": "2023-12-25T14:38:35",
"description": "单位: 个",
"remark": null,
"label": "个",
"by_user": "admin"
},
{
"dict_type": "16",
"val": "2",
"dict_id": 40,
"is_deleted": 0,
"create_time": "2023-12-25T14:38:59",
"description": "单位: 件",
"remark": null,
"label": "件",
"by_user": "admin"
},
{
"dict_type": "16",
"val": "3",
"dict_id": 41,
"is_deleted": 0,
"create_time": "2023-12-25T14:39:11",
"description": "单位: 套",
"remark": null,
"label": "套",
"by_user": "admin"
},
{
"dict_type": "16",
"val": "4",
"dict_id": 42,
"is_deleted": 0,
"create_time": "2023-12-25T14:39:32",
"description": "单位: 条",
"remark": null,
"label": "条",
"by_user": "admin"
},
{
"dict_type": "2",
"val": "9",
"dict_id": 43,
"is_deleted": 0,
"create_time": "2023-12-25T16:36:48",
"description": "存入物料,退回仓库",
"remark": null,
"label": "退回仓库",
"by_user": "admin"
},
{
"dict_type": "2",
"val": "10",
"dict_id": 44,
"is_deleted": 0,
"create_time": "2023-12-25T16:37:06",
"description": "取出物料,使用物料",
"remark": null,
"label": "使用物料",
"by_user": "admin"
},
{
"dict_type": "2",
"val": "11",
"dict_id": 45,
"is_deleted": 0,
"create_time": "2023-12-25T16:37:26",
"description": "取出物料,借出物料",
"remark": null,
"label": "借出物料",
"by_user": "admin"
},
{
"dict_type": "16",
"val": "5",
"dict_id": 50,
"is_deleted": 0,
"create_time": "2023-12-27T14:28:06",
"description": "单位: 只",
"remark": null,
"label": "只",
"by_user": "admin"
}
]
}
最后修改时间: 1 年前