INSERT INTO `sys_role` (`id`, `role`, `remark`, `default_url`, `created_at`, `updated_at`) VALUES (1, '系统管理员', '', '', 1683860975, 1683860975);

INSERT INTO `sys_user_role` (`id`, `user_id`, `role_id`, `created_at`) VALUES (1, 1, 1, 1683860975);

INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (1, 0, 1, '系统管理', '', '', 1, 0, 0, 0);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (2, 1, 1, '用户管理', '/manage/user/index', 'm:u:i', 1, 0, 0, 1683881859);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (3, 1, 2, '角色管理', '/manage/role/index', 'm:r:i', 1, 0, 0, 0);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (4, 1, 3, '权限管理', '/manage/permission/index', 'm:p:i', 1, 0, 0, 0);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (5, 4, 1, '权限保存', '/manage/permission/save', 'm:p:s', 0, 1, 0, 0);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (6, 4, 2, '权限列表', '/manage/permission/index-ajax', 'm:p:i:a', 0, 1, 0, 0);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (7, 4, 3, '权限删除', '/manage/permission/delete', 'm:p:d', 0, 1, 0, 0);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (9, 2, 1, '用户列表', '/manage/user/index-ajax', 'm:u:i:a', 0, 1, 1683878059, 1683878059);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (10, 3, 1, '角色列表', '/manage/role/index-ajax', 'm:r:i:a', 0, 1, 1683878534, 1683878534);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (11, 3, 2, '角色编辑', '/manage/role/edit', 'm:r:e', 0, 0, 1683878720, 1683878720);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (12, 3, 3, '角色保存', '/manage/role/save', 'm:r:s', 0, 1, 1683878769, 1683880850);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (13, 3, 4, '角色删除', '/manage/role/delete', 'm:r:d', 0, 1, 1683878801, 1683878801);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (14, 2, 2, '用户编辑', '/manage/user/edit', 'm:u:e', 0, 0, 1683879791, 1683879791);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (15, 2, 3, '用户保存', '/manage/user/save', 'm:u:s', 0, 1, 1683879851, 1683879851);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (16, 2, 4, '用户删除', '/manage/user/delete', 'm:u:d', 0, 1, 1683879880, 1683879880);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (17, 1, 4, '操作日志', '/manage/operate-log/index', 'm:o:l:i', 1, 0, 1684116056, 1684116274);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (18, 17, 1, '操作日志列表', '/manage/operate-log/index-ajax', 'm:o:l:i:a', 0, 1, 1684116095, 1684116437);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (19, 17, 2, '操作日志详情', '/manage/operate-log/detail', 'm:o:l:d', 0, 0, 1684116154, 1684116154);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (20, 19, 1, '操作日志详情', '/manage/operate-log/detail-ajax', 'm:o:l:d:a', 0, 1, 1684116201, 1684116201);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (21, 1, 5, '公共配置', '', '', 0, 0, 1684202859, 1684202874);
INSERT INTO `sys_permission` (`id`, `pid`, `sort`, `permission`, `url`, `url_sign`, `is_menu`, `is_interface`, `created_at`, `updated_at`) VALUES (22, 21, 1, '首页', '/manage/site/index', 'm:s:i', 0, 0, 1684202910, 1684202910);

INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (1, 1, 1, 1683879597);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (4, 1, 4, 1683879597);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (5, 1, 5, 1683879597);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (6, 1, 6, 1683879597);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (7, 1, 7, 1683879597);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (8, 1, 2, 1683879608);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (9, 1, 9, 1683879608);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (10, 1, 3, 1683879608);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (11, 1, 10, 1683879609);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (12, 1, 11, 1683879609);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (13, 1, 12, 1683879609);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (14, 1, 13, 1683879609);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (15, 1, 14, 1683879925);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (16, 1, 15, 1683879925);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (17, 1, 16, 1683879925);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (33, 1, 17, 1684116213);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (34, 1, 18, 1684116213);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (35, 1, 19, 1684116213);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (36, 1, 20, 1684116213);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (37, 1, 21, 1684202921);
INSERT INTO `sys_role_permission` (`id`, `role_id`, `permission_id`, `created_at`) VALUES (38, 1, 22, 1684202921);

INSERT INTO `sys_user` (`id`, `username`, `email`, `status`, `latest_login_ip`, `latest_login_at`, `created_at`, `updated_at`) VALUES (1, '崔嘉森', 'cuijiasen@drojian.dev', 10, '127.0.0.1', 1683860975, 1683860975, 1683860975);
