From bd58971d647cd242c768d0844cc891241d3a6255 Mon Sep 17 00:00:00 2001 From: eryajf Date: Sat, 10 Dec 2022 00:07:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E5=B0=86=E5=88=86=E7=BB=84=E7=9A=84?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E8=AE=BE=E7=BD=AE=E4=B8=BA=E4=B8=8D=E7=BC=93?= =?UTF-8?q?=E5=AD=98,=E8=A7=A3=E5=86=B3=E8=BF=9B=E5=85=A5=E4=B8=8D?= =?UTF-8?q?=E5=90=8C=E5=88=86=E7=BB=84=E6=97=B6=E6=95=B0=E6=8D=AE=E4=B8=8D?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/common/init_mysql_data.go | 1 + 1 file changed, 1 insertion(+) diff --git a/public/common/init_mysql_data.go b/public/common/init_mysql_data.go index a6f587e..150344d 100644 --- a/public/common/init_mysql_data.go +++ b/public/common/init_mysql_data.go @@ -119,6 +119,7 @@ func InitData() { Component: "/personnel/group/index", Sort: 7, ParentId: uint1, + NoCache: 1, Roles: roles[:1], Creator: "系统", }, From db9d833043e3d5f7bf96e70bfa35d2d02bbb7655 Mon Sep 17 00:00:00 2001 From: eryajf Date: Sat, 10 Dec 2022 00:10:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E5=B0=86=E5=88=86=E7=BB=84=E7=9A=84?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E8=AE=BE=E7=BD=AE=E4=B8=BA=E4=B8=8D=E7=BC=93?= =?UTF-8?q?=E5=AD=98,=E8=A7=A3=E5=86=B3=E8=BF=9B=E5=85=A5=E4=B8=8D?= =?UTF-8?q?=E5=90=8C=E5=88=86=E7=BB=84=E6=97=B6=E6=95=B0=E6=8D=AE=E4=B8=8D?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/sql/go_ldap_admin.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sql/go_ldap_admin.sql b/docs/sql/go_ldap_admin.sql index 4c8472e..28af2e8 100644 --- a/docs/sql/go_ldap_admin.sql +++ b/docs/sql/go_ldap_admin.sql @@ -291,7 +291,7 @@ CREATE TABLE `menus` ( BEGIN; INSERT INTO `menus` (`id`, `created_at`, `updated_at`, `deleted_at`, `name`, `title`, `icon`, `path`, `redirect`, `component`, `sort`, `status`, `hidden`, `no_cache`, `always_show`, `breadcrumb`, `active_menu`, `parent_id`, `creator`) VALUES (1, '2022-09-01 20:22:26.270', '2022-09-01 20:22:26.270', NULL, 'UserManage', '人员管理', 'user', '/personnel', '/personnel/user', 'Layout', 5, 1, 2, 2, 2, 1, '', 0, '系统'); INSERT INTO `menus` (`id`, `created_at`, `updated_at`, `deleted_at`, `name`, `title`, `icon`, `path`, `redirect`, `component`, `sort`, `status`, `hidden`, `no_cache`, `always_show`, `breadcrumb`, `active_menu`, `parent_id`, `creator`) VALUES (2, '2022-09-01 20:22:26.270', '2022-09-01 20:22:26.270', NULL, 'User', '用户管理', 'people', 'user', '', '/personnel/user/index', 6, 1, 2, 2, 2, 1, '', 1, '系统'); -INSERT INTO `menus` (`id`, `created_at`, `updated_at`, `deleted_at`, `name`, `title`, `icon`, `path`, `redirect`, `component`, `sort`, `status`, `hidden`, `no_cache`, `always_show`, `breadcrumb`, `active_menu`, `parent_id`, `creator`) VALUES (3, '2022-09-01 20:22:26.270', '2022-09-01 20:22:26.270', NULL, 'Group', '分组管理', 'peoples', 'group', '', '/personnel/group/index', 7, 1, 2, 2, 2, 1, '', 1, '系统'); +INSERT INTO `menus` (`id`, `created_at`, `updated_at`, `deleted_at`, `name`, `title`, `icon`, `path`, `redirect`, `component`, `sort`, `status`, `hidden`, `no_cache`, `always_show`, `breadcrumb`, `active_menu`, `parent_id`, `creator`) VALUES (3, '2022-09-01 20:22:26.270', '2022-09-01 20:22:26.270', NULL, 'Group', '分组管理', 'peoples', 'group', '', '/personnel/group/index', 7, 1, 2, 1, 2, 1, '', 1, '系统'); INSERT INTO `menus` (`id`, `created_at`, `updated_at`, `deleted_at`, `name`, `title`, `icon`, `path`, `redirect`, `component`, `sort`, `status`, `hidden`, `no_cache`, `always_show`, `breadcrumb`, `active_menu`, `parent_id`, `creator`) VALUES (4, '2022-09-01 20:22:26.270', '2022-09-01 20:22:26.270', NULL, 'FieldRelation', '字段关系管理', 'el-icon-s-tools', 'fieldRelation', '', '/personnel/fieldRelation/index', 8, 1, 2, 2, 2, 1, '', 1, '系统'); INSERT INTO `menus` (`id`, `created_at`, `updated_at`, `deleted_at`, `name`, `title`, `icon`, `path`, `redirect`, `component`, `sort`, `status`, `hidden`, `no_cache`, `always_show`, `breadcrumb`, `active_menu`, `parent_id`, `creator`) VALUES (5, '2022-09-01 20:22:26.270', '2022-09-01 20:22:26.270', NULL, 'System', '系统管理', 'component', '/system', '/system/role', 'Layout', 9, 1, 2, 2, 2, 1, '', 0, '系统'); INSERT INTO `menus` (`id`, `created_at`, `updated_at`, `deleted_at`, `name`, `title`, `icon`, `path`, `redirect`, `component`, `sort`, `status`, `hidden`, `no_cache`, `always_show`, `breadcrumb`, `active_menu`, `parent_id`, `creator`) VALUES (6, '2022-09-01 20:22:26.270', '2022-09-01 20:22:26.270', NULL, 'Role', '角色管理', 'eye-open', 'role', '', '/system/role/index', 10, 1, 2, 2, 2, 1, '', 5, '系统');