feat(cookieManager): init.json 补齐 Cookie 管理菜单(76-84)
全新环境执行 flask admin init 时一并导入,与 Alembic 迁移互为补充。 两者均为幂等(不存在才插入),不会重复。
This commit is contained in:
@@ -568,6 +568,123 @@
|
||||
"sort": 4,
|
||||
"create_time": "2026-09-05 17:00:00",
|
||||
"enable": 1
|
||||
},
|
||||
{
|
||||
"id": 76,
|
||||
"name": "Cookie管理",
|
||||
"type": "0",
|
||||
"code": "",
|
||||
"url": "",
|
||||
"open_type": "",
|
||||
"parent_id": "0",
|
||||
"icon": "layui-icon layui-icon-ear-phone",
|
||||
"sort": 5,
|
||||
"create_time": "2026-09-08 16:00:00",
|
||||
"enable": 1
|
||||
},
|
||||
{
|
||||
"id": 77,
|
||||
"name": "登录用户",
|
||||
"type": "1",
|
||||
"code": "system:cookie-user:main",
|
||||
"url": "/system/cookie-user/",
|
||||
"open_type": "_iframe",
|
||||
"parent_id": "76",
|
||||
"icon": "layui-icon layui-icon-username",
|
||||
"sort": 1,
|
||||
"create_time": "2026-09-08 16:00:00",
|
||||
"enable": 1
|
||||
},
|
||||
{
|
||||
"id": 78,
|
||||
"name": "登录用户新增",
|
||||
"type": "2",
|
||||
"code": "system:cookie-user:add",
|
||||
"url": "",
|
||||
"open_type": "",
|
||||
"parent_id": "77",
|
||||
"icon": "",
|
||||
"sort": 1,
|
||||
"create_time": "2026-09-08 16:00:00",
|
||||
"enable": 1
|
||||
},
|
||||
{
|
||||
"id": 79,
|
||||
"name": "登录用户编辑",
|
||||
"type": "2",
|
||||
"code": "system:cookie-user:edit",
|
||||
"url": "",
|
||||
"open_type": "",
|
||||
"parent_id": "77",
|
||||
"icon": "",
|
||||
"sort": 2,
|
||||
"create_time": "2026-09-08 16:00:00",
|
||||
"enable": 1
|
||||
},
|
||||
{
|
||||
"id": 80,
|
||||
"name": "登录用户删除",
|
||||
"type": "2",
|
||||
"code": "system:cookie-user:remove",
|
||||
"url": "",
|
||||
"open_type": "",
|
||||
"parent_id": "77",
|
||||
"icon": "",
|
||||
"sort": 3,
|
||||
"create_time": "2026-09-08 16:00:00",
|
||||
"enable": 1
|
||||
},
|
||||
{
|
||||
"id": 81,
|
||||
"name": "登录网站",
|
||||
"type": "1",
|
||||
"code": "system:cookie-site:main",
|
||||
"url": "/system/cookie-site/",
|
||||
"open_type": "_iframe",
|
||||
"parent_id": "76",
|
||||
"icon": "layui-icon layui-icon-web",
|
||||
"sort": 2,
|
||||
"create_time": "2026-09-08 16:00:00",
|
||||
"enable": 1
|
||||
},
|
||||
{
|
||||
"id": 82,
|
||||
"name": "登录网站新增",
|
||||
"type": "2",
|
||||
"code": "system:cookie-site:add",
|
||||
"url": "",
|
||||
"open_type": "",
|
||||
"parent_id": "81",
|
||||
"icon": "",
|
||||
"sort": 1,
|
||||
"create_time": "2026-09-08 16:00:00",
|
||||
"enable": 1
|
||||
},
|
||||
{
|
||||
"id": 83,
|
||||
"name": "登录网站编辑",
|
||||
"type": "2",
|
||||
"code": "system:cookie-site:edit",
|
||||
"url": "",
|
||||
"open_type": "",
|
||||
"parent_id": "81",
|
||||
"icon": "",
|
||||
"sort": 2,
|
||||
"create_time": "2026-09-08 16:00:00",
|
||||
"enable": 1
|
||||
},
|
||||
{
|
||||
"id": 84,
|
||||
"name": "登录网站删除",
|
||||
"type": "2",
|
||||
"code": "system:cookie-site:remove",
|
||||
"url": "",
|
||||
"open_type": "",
|
||||
"parent_id": "81",
|
||||
"icon": "",
|
||||
"sort": 3,
|
||||
"create_time": "2026-09-08 16:00:00",
|
||||
"enable": 1
|
||||
}
|
||||
],
|
||||
"roles": [
|
||||
|
||||
Reference in New Issue
Block a user